I need populate three columns in Android activity with dynamic data. How can I do it?
A:
Hi Morgan,
At a high level, your current task can be achieved by doing the below steps.
- Create a standalone linear layout with horizontal orientation and add three TextView views.
- In the target layout file, create a ListView with the above created layout.
- Bind the listview layout with a data adapter and map the fields to the textview.
This example should get you started and add that background to achieve the above goals.
Gopinath
2010-10-05 08:18:34