Skip to content

Bug: turn off and on infinite cycle #83

Description

@maqsats

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions