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

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -