[android-developers] Display a ListView without a TextView
Hello,
In my app i have this:
ListView L = (ListView) findViewById(R.id.lv);
L.setAdapter(new ArrayAdapter<String>(this, R.layout.list_item,
s[0]));
"lv" is my ListView and "list_item" is my TextView. I want to store
datas in a file then have a string variable to take all this datas
then display it in a ListView(containing a TextView). Anyway, i'm
facing a display problem: sometimes the datas show and sometimes not!
So, i'm wondering if there is a tip to display all items in a ListView
without the necessity to use a TextView, perhaps it'll solve the
problem!
Thanks.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home