Answer the question
In order to leave comments, you need to log in
Why is the condition not met?
In general I can't compare 2 integers. And this is not the first time, the first time I had to convert to strings and compare strings. I'm not a professional, but I'm writing the first application.
int catsIndexesSize = catsIndexes.size();
Log.d(TAG, "SIZE:" + catsIndexesSize); // выводит 3
if(catsIndexesSize>0) {
// не выполняется
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question