i have one question.i have one textview
and one String
and i try to show this text in texview
(i can show it).but i have one option:
for example ,i have String "Android example"
.i want to settext my texview
each Letters runtime
A An And and etc
String text = "Android example";
char[] chartext = new char[text.length()];
for (int i = 0; i < chartext.length; i++) {
StringBuffer sb = new StringBuffer();
sb.append(text);
try {
Thread.sleep(20);
txt.setText(sb.toString());
} catch (InterruptedException e) {
e.printStackTrace();
}
}
i wrote some code but i can show string in textview but i have not recive same as result such as i told. how i can solve my problem if anyone knows solution please help me