java - Print a String in a specific index in android studio -
i'm facing problem printing string in specific location on android studio, tried using charat() function app crashes (for example tv.settext((res.charat(1))); make crash)
are trying set text of test view based off location inside of list? thats sounds anyway example gave.
textview.settext(list.get(2); that display test @ index 2 in list.
list<string> list = new arraylist<>();
Comments
Post a Comment