Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to place a ListView inside another ListView....?

I need to place one list which contains headings and respective lists,

I have done it with two adapters, but i am not getting the output that i want...!

The list inside the list is not showing all the elements but only two.

How to solve this.....?

here is the screen shot.

my screen

Thanks in advance....!

like image 271
Noby Avatar asked Jan 01 '26 11:01

Noby


1 Answers

i dont want to scroll the inner list view

Then it should not be a ListView. Either use ExpandableListView for the whole list, or use a vertical LinearLayout for the "inside the list" contents (e.g., Chicken3, Matton3).

like image 183
CommonsWare Avatar answered Jan 05 '26 05:01

CommonsWare



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!