android - Viewing the String Value of a Toast and changing it -


<string name="next_toast">correct</string> 

i want value change variable

for example

next_toast = getnextquestion(); 

how accomplish this

a resource constant, definition can't updated. however, toast.maketext() has 2 versions, 1 takes string resource id , 1 takes plain charsequence (string).

toast docs


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -