android - Recycler view in a recycler view -
i looking solution solves problem of dynamic list in turn contains dynamic list of rows.
i have recycler view holds card view holds recyclerview. can see parent recycler view showing child recycler not showing up. {{recyclerview{cardview{recyclerview}}} getitemcount method being called other methods such oncreateviewholder , bind not being called.
i have made sure both recycler views have linearlayoutmanager implemented , have setfixedsize true.
i believe issue xml layout. maybe not coming in focus hence not calling overridden methods,as recylerview becomes unavailable.make sure padding,height , rest other things such child recyclerview visible.actually when implemented it, faced same issue , reason xml layout same reason second recyler not visible due overpadding , margin.
Comments
Post a Comment