user4875457
user4875457

Reputation:

Using view pager in recycler view row?

In my app, I am using a fragment view pager in my recycler view rows. I am doing this to display the main content in the first fragment and then a fragment container a delete button as the second fragment. For some reason, when I launch my app, my view pager is only working in the first row. Does anyone know what could be causing this? I have tried using multiple static rows, but it only works in the first one. This is my recycler view adapter code:

Upvotes: 0

Views: 746

Answers (1)

Linh Nguyen
Linh Nguyen

Reputation: 1264

I've faced this problem and resolve this by set ID for each ViewPager :)

Upvotes: 2

Related Questions