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

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -