If I try
nltxt = nllen.toString();
with nllen
being
int nllen = nl.getLength();
I get the error
Cannot invoke toString()
on the primitive type int.
I want to convert the int to string so i can display the number of entries with Log...
Why doesn't it work?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…