Can I improve an expandable list view with different child?
I need differents groups, in the first one i need an edittext and in the second a list witch i can select an item.
Thanks
Related
I’m trying to implement three level list views where only the top level is required to be scrollable. Example of the UI is as below:
List view 1: List of houses : scrollable
List view 2: List of rooms in houses : Not scrollable
List view 3: List of windows in the rooms : Not scrollable
Important thing is that the data I fill up needs to be dynamic. So the number of items in the list view 2 and 3 can be changed.
I don’t want list view 2 and 3 as scrollable as they are not going to have too many items, and I want them to be displayed always. Therefore, only top level list view is required to be scrollable.
I tried with 3 level expandable list views but I really don’t need expandable list views as they increase the number of clicks to view all the information at one time.
I tried is to add ListView within ListView and adding adapter to add items in the low level list views. But its not working. It displays only top level list view but the child list view is not displayed at all.
Is there any way to add ListView within ListView as above?
If there is not much item in listview 2 & 3 then do not use listview for level 2,3.
Use a listview for 1, LinearLayout for 2 & 3 and add textView dynamically to those layouts.
Put 2,3 layout to another linear layout and align it to bottom ... so remaining place above those view will be covered by listview.
Comment if my answer is not clear or you need more explanation.
I have a listview with 5 items. Each item has a listview with 5 items. I would like to have this in a single activity using adapter. Is it possible?
Expandable lists let you create lists within lists.
They’re ideal for list items that have sub-categories. The user selects an item from a scrollable list and another list pops open. They can then make another selection from this list. Here is the example and tutorial about this:
http://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/
You can use the Expandable lists.
it will help whatever you want like in your main listview have 5 item and each item have number of more item it will child of that item.
I have been stuck on this for 1 to 2 days. I need help. I want to add a custom child in a listview and a child (row) must contain multiple clickable buttons or views.
I want listview just like one given below:
My GUI:
I want to design my app. with more modularity. In my app most of the screens are ListViews, and with similar list items.
For eg. I have 3 ListViews, each for a different category. (Music list, Audi list, Video list) and 1 Main view, that list latest 2 list items of each category.
My Plan is to reuse the 3 inner ListViews on my Main view as as list items.
If you want to have a multi-list view (each item having or not a subitem), you can use an ExpandableListView.
I am not completely sure if that's possible but the first thing I would try is an ExpandableList.
Check this so question:
How to add image in expandable List in parent in android?
Hi i am displaying items according to different categories using Expandable Listview.Now I want to display only items ,No need of parent name or parent indicator.is there any solution from expandable list view to diplay only child items .I don't have time Thats y i am displaying items from expandable list view(I am alredy developed this one) .So please give me some suggestions.It is very urgent.thanks in advance
I think you cannot have child view without group view in ExpandableListView. Which adapter you are using for populating group and child view?
You should use lisview instead which is easy to used.