How to scroll layout which have 3 list view

后端 未结 5 778
情歌与酒
情歌与酒 2021-02-08 02:13

I have one layout. This layout contain 3 list view with the height of wrap_content data in the Listview are not fix. When Listview have a liitel huge data at that time the data

5条回答
  •  难免孤独
    2021-02-08 02:44

    Instead, let me give my best idea for the same kind of implementation.

    Have you ever thought to use ExpandableListView for the same kind of implementation? Just show the 1st group item as expanded and make other 2 groups as collapsed, just expand it when user click on the particular group.

    Here are some examples for the same:

    1. http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html
    2. http://coderzheaven.com/2011/04/expandable-listview-in-android-using-simpleexpandablelistadapter-a-simple-example/

    I am sure this idea is not good but if you implement this then you will sure found beneficial in your case.

提交回复
热议问题