Inner List in Android -


i have problem lists.

i want implement scrollable big list, each element of contains text on left side , non-scrollable inner list on right side. (for example: name of flat , list of inhabitants names)

enter image description here

both lists should filled cursors , contain informatio them: want have oppurtunitz cursos fields when click element of inner list.

as far understood i's not possible solve 2 listviews. expandablelistview not pass me because not want expand first list, want have inner list visible.

do have ideas how can realize it?

try using listview big list, , empty linearlayout in each item. fill linearlayout of each item programmatically in big list adapters getview(..) method, int position item number. see also: android nested listview

edit: or use expandablelistview, items expand programmatically without animation expandgroup(int position, boolean animate). prevent collapsing setting expandablelistview.ongroupcollapselistener, in expand group again. (seems bit hacky)

dokumentation: https://developer.android.com/reference/android/widget/expandablelistview.html


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -