Filipe
Filipe

Reputation: 3408

ListView inside a ListView

I'm trying to put a ListView inside a ListView (a listseption hehehe). I'm able to do that and I can easily show information on the outer, and inner views. The problem is that the inner list despite showing the things i want, it can't be scrolled. Does anyone knows how to fix this?

ps.: Using an ExpandableListView is not an option. I really need a ListView within a ListView.

Upvotes: 1

Views: 266

Answers (1)

Dimitris Makris
Dimitris Makris

Reputation: 5183

You cannot use a ListView inside a ListView (or in general any scrolling View inside a scrolling View with the same orientation scrolling i.e. ListView inside a ScrollView). The scrolling of the inner view is disabled.

You should really reconsider your layout for the job you want.

Hope this helps!

Upvotes: 3

Related Questions