How to gathering 2 rows of list to be 1 row for call ContextMenu

302 Views Asked by At

How to gathering 2 rows of list to be 1 row for call Context Menu

Does anybody have some demo?

Thanks in advance.

1

There are 1 best solutions below

0
On

It sounds like all you need a ListView with a complex layout for each list view item.

Lots of options. Create a layout file with the two row layout that you want. Then, either use a SimpleAdapter, or use an ArrayAdapter and override the [getView][3] function to fill in the details.

If you search on any of those terms, you should find plenty of tutorials.

[3]: http://developer.android.com/reference/android/widget/ArrayAdapter.html#getView(int, android.view.View, android.view.ViewGroup)