InfiniteCycleViewPager icon indicating copy to clipboard operation
InfiniteCycleViewPager copied to clipboard

Not infinite loop

Open satitkung opened this issue 4 years ago • 1 comments

I just implement this library today but it's not infinite loop. Can anyone explain to me.

satitkung avatar Jun 29 '20 11:06 satitkung

I am new to this kind of issue writing. so don't judge me strongly. If you want to turn off infinite cycle you can create HorizontalPagerAdapter with variable and setDate lately after initialize. For example: adapter : HorizontalAdapter? = null onCreate -> adapter = HorizontalAdapter() recyclerInfinite.adapter = adapter adapter.setDate("your arraylist") I think it is bug but if you do like that you can get not infinite cycle However: if you init your cycle like this: onCreate -> recyclerInfinite.adapter = HorizontalAdapter(withYourDefaultList) you will get infiniteRecyclerView effect

maqsats avatar Oct 05 '21 02:10 maqsats