Kayıtlar

java etiketine sahip yayınlar gösteriliyor

Take first or last characters (Substring) with Kotlin

Sometimes you might want to get the last characters of the string or first characters. This is very easy with kotlin.

How to count the lines of Android App?(Kotlin & Java)

 If you want to know how much code you have written Kotlin, Java and xml, You need to use git first. If you use it so this code enter in Android studio terminal and you learn it. wc -l $(git ls-files | grep '.*\.xml')+$(git ls-files | grep '.*\.java')+$(git ls-files | grep '.*\.kt')

Thread that has not called Looper.prepare() Error

If you seen in Logcat like that "java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()" you probably You are trying to perform a different activity transaction ui operation. So simply  do this;