Could we define unknown amount of clickable texts which have different outputs in for loop?
问题 I want all ClickableSpans to have toasts show their own text. But whatever I write in Toast in onClick in for loop, all ClickableSpans show same Toast output. Briefly, I just want ClickableSpans to show different Toasts in for loop. How can I do it? I want all words have clickable. And when all words are clicked, they do different thing. Thank you for your help. public class MainActivity extends AppCompatActivity { private String[] textArray; private String text = "1981 senesinde kuantum