Answer the question
In order to leave comments, you need to log in
How to check an entire array for null?
For example, there is a string arrayString[] test;
if (test[] == null){
Log.e("NULL - ", " ДА");
} else {
Log.e("NULL", "НЕТ");
}
And it will give out that it is not null, while if you look in debag then there All elements are null Answer the question
In order to leave comments, you need to log in
Well, there is a difference between a single null reference and an array containing null references. Read more here stackoverflow.com/questions/2369967/how-we-check-f...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question