Recyclerview items not showing | Sololearn: Learn to code for FREE!


Recyclerview items not showing

In a fragment, I have a tab layout which is connected to view pager 2 in a fragment A. And the first tab have a recyclerview. When i open this fragment i can't see any items in recyclerview. But when i change the tab and comes back to first tab, Item appears. I tried to open this fragment standalone in an activity and it works perfectly fine. It just seems to occur problem when it is in viewpager.

9/21/2021 11:11:14 AM

Manjit Kumar

0 Answers

New Answer