Does my following short code have problem ?
TextView[] AnswerTextView = new TextView[10];
protected void onCreate(Bundle icicle) {
....
AnswerTextView[0].findViewById(R.id.cau_1_answer_grammar);
....
AnswerTextView[9].findViewById(R.id.cau_10_answer_grammar);
setAnswerListTextView()
}
protected void setAnswerListTextView() {
// Display answer in "Your answer:" column
for(int i=0;i<=9;i++){
AnswerTextView[i].setText(AnswerList[i]); //is it possible ?
}
}
Please correct if any, thanks !
--
Many thanks and regards
LÊ THANH TÙNG
Da Nang, Vietnam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---