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')
This is a common problem, you can not reach the context first and therefore it is null. What you need to do here is that if you use "ActivityName.this" instead of getApplicationContext(),context etc. your problem will be resolved. Like this;
Yorumlar
Yorum Gönder