java.util.List to Table structure View

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

java.util.List to Table structure View

Postby androidUser » Mon Apr 20, 2009 2:49 pm

I have List object which holds MyBean object contains 2 setter and getter methods.

How i should display the MyBean dynamically in Table structure(2 column) in View ?

Example:


ArrayAdapter<MyBean > adapter = new ArrayAdapter<MyBean >() // No idea

Expected Output:


Column1 Column2
Row1 value1 value2
Row2 value3 value4 ....dynamically



layout xml :
<ListView android:layout_width="fill_parent" android:background="#C9DFFA"
android:layout_height="fill_parent" android:id="@+id/itemlist" />
androidUser
Junior Developer
Junior Developer
 
Posts: 24
Joined: Sun Apr 05, 2009 1:08 pm

Top

Postby tanran » Tue Jul 28, 2009 9:04 am

i want to do sth like u, and i am finding the way.
tanran
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed Apr 22, 2009 2:16 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 10 guests