简体   繁体   中英

ListView inside ListView item

I want to ask one question, should I use ListView inside ListView item? Or I should redesign and remake my idea?

Example of ListView, but should be with couple sub items:

ListView的示例,但应包含几个子项

A ListView will never work correctly embedded as an item in another ListView. In fact, scrolling things inside other scrolling things is almost never what you really want to do, as it would be confusing to the user how to actually navigate your screen.

A ListView inside a ListView item is never a good idea. If you want sublists inside your list you can, for example, use a ExpandableListView . However, with the migration from ListViews to RecyclerViews I would recommend you go and implement this instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM