Hi, is this possible with only two views/fragments in ViewPager?
pranand patil

I think I covered that in the article.

It’s not, needs at least 3 or 4 fragments. But, there is no reason you can’t include the same fragment twice, in a 1, 2, 1, 2 sequence and loop them then. If there is state that needs to remain constant between the #1 fragments, you can probably persist the data and update the fragment.