moagrius / EndlessRecyclerView

EndlessRecyclerView is a subclass of RecyclerView that allows for infinite, smooth scroll and fling.
16 stars 2 forks source link

StackFromEnd problem #2

Open FunnyDevs opened 8 years ago

FunnyDevs commented 8 years ago

Hi! i have tried your demo setting stackfromend and it seems there is a problem. is possibile an implementation with stackfromend?

Thank you

moagrius commented 7 years ago

sorry for the delay, i had notifications off on this repo.

i had not tried stackfromend, thanks for finding it. i'll work on this issue sometime after the next release which we hope to release within the next week or so.

moagrius commented 7 years ago

setStackFromEnd will not work with the current setup, and it'd be non-trivial to add - the backing mechanism checks the scroll position and content height against a threshold as the user scrolls - this math falls apart when we need to check the other direction. it's probably not that tough to figure out, but it'd touch nearly every part of the backing logic and i probably wouldn't do it unless there were several requests.

if i ever get the time to pay proper attention to this project it might be something i'd consider adding, but with my schedule now it's unlikely.

sorry i couldn't be more helpful - thanks for posting