android - Two level listview with embedded sub items (image) -


i create layout image below.

items dynamic flavor of listview ou expandablelistview seems way go i'm curious see if know of existing component or way of implementing it.

i don't care collapsing groups.

thanks!

my example

if don't care collapsing groups (i.e. children displayed, always) can away using listview (or recycleview).

this means can store data list (instead of list of lists), since items defined position in list (instead of pair of indexes: e.g. group/child).

to this, override listview getviewtype , getviewtypecount methods. i'd direct existing post on how implement methods if don't know: android listview different layouts each row


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

SQL Server - MyCTE query based on 24 hour period (next day) -

php - Using str_replace to translate a MySQL Table in html -