BeksOmega / looping-layout

A looping LayoutManager for the Android RecyclerView.
Apache License 2.0
274 stars 16 forks source link

Padded Recyclerviews Don't Loop Indices Correctly #25

Closed BeksOmega closed 4 years ago

BeksOmega commented 4 years ago

:bug: Describe

When the RecyclerView the layout manager is applied to has padding, the indicies are looped incorrectly under certain circumstances.

Video Link

:snail: Steps to reproduce

  1. Edit the layout file to give the RecyclerView 50dp padding.
  2. Load the ActivityHorizontal activity. Make sure the layout manager is not reversed.
  3. Scroll to see more views at the left.
  4. Observe how the view indices are not in the correct order.

:butterfly: Expected behavior

View indices should be in the correct order.

:beetle: Other info

N/A

:bee: Requested assignment

If possible, I would like to fix this.

BeksOmega commented 4 years ago

I'll take this one.