You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In demo project I added a little more to demonstrate a problem. My main Activity looks like this image:
App consist of two epoxy's RecyclerViews: upper - with actual behavior and second with expected behavior. Main screen also has a button which click event lead to recyclerView.scrollToPosition() call. First scrollToPosition 10 then each click increments next position to scroll.
Steps to reproduce:
Click on button i.e. call to recyclerView.scrollToPosition(10).
Actual result: In upper view I don't see View Holder 10 fully. Expected result: RecyclerView shows View Holder 10 fully as in second lower RecyclerView.
Next You can see it in a view bellow:
bug_demo_wihtout_audio.mov
The problem in implementation of StickyHeaderLinearLayoutManager.scrollToPositionWithOffset method which doesn't take into account an orientation of LinearLayoutManager and always adds to `adjustedOffset` a ` stickyHeader!!.height` value but for horizontal orientation should add ` stickyHeader!!.width`.
The text was updated successfully, but these errors were encountered:
Here you can find a fix of my teammate #1304
I have simple demo project for bug reprodusing https://github.com/ardmn/EpoxyHorizontalStickyHeaderBugSample
It has next view configuration(epoxy 4.6.3 but bug reproduces on epoxy's master branch too ):
Main's activity layout:
And next code in MainActivity:
In demo project I added a little more to demonstrate a problem. My main Activity looks like this image:
App consist of two epoxy's RecyclerViews: upper - with actual behavior and second with expected behavior. Main screen also has a button which click event lead to recyclerView.scrollToPosition() call. First scrollToPosition 10 then each click increments next position to scroll.
Steps to reproduce:
recyclerView.scrollToPosition(10)
.Actual result: In upper view I don't see
View Holder 10
fully.Expected result: RecyclerView shows
View Holder 10
fully as in second lower RecyclerView.Next You can see it in a view bellow:
bug_demo_wihtout_audio.mov
The problem in implementation of StickyHeaderLinearLayoutManager.scrollToPositionWithOffset method which doesn't take into account an orientation of LinearLayoutManager and always adds to `adjustedOffset` a ` stickyHeader!!.height` value but for horizontal orientation should add ` stickyHeader!!.width`.
The text was updated successfully, but these errors were encountered: