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.
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
Post a Comment