Can you show me a simple ex.?
Actually I don't know how to use multiple ListView widget.
If this is two lists in main xml.
<ListView
android:id="@android:id/list1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<ListView
android:id="@android:id/list2"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
ListView ls1=(ListView)findViewById(R.id.list1);
ListView ls2=(ListView)findViewById(R.id.list2);
then how to set List?
???
SimpleCursorAdapter notes =
new SimpleCursorAdapter(this, R.layout.notes_row_weekly,
notesCursor, from, to);
setListAdapter(notes); ???
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---