ViewPager in RecyclerView
FarshidABZ opened this issue · comments
Farshid Abazari commented
yolo commented
Hi, FarshidABZ
Problem comes from findViewPager in PageIndicatorView
View view = activity.findViewById(viewPagerId);
All of your ViewPagers inside RecyclerView have the same id.
There is very dirty solution. Change ViewPagers's identical ids to unique inside your ViewHolder programmatically.
viewPager.id = dataId.hashCode()