Android Expandable RecyclerView as Tabs of viewpager -


i'm trying display 1 activity picture below thread. want make 1 display have: 1 viewpager, 1 header need custom header: 1 recyclerview expandable(please see picture), handler clicked recyclerexpandable setcurrent page make viewpager scroll position follow header, want make when viewpager swipe next page, header charger background item (child , parent), when next done child item go parent, old child list close.

enter image description here

try 1 solution :

 explistview.setonchildclicklistener(new expandablelistview.onchildclicklistener() {          public boolean onchildclick(expandablelistview parent,                            view v, int groupposition, int childposition, long id) {              final string selected = (string) explistadapter.getchild(                     groupposition, childposition);             if(your condition){              }else if(your condition2) {              }else{              }         }     } 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -