I want to implement custom scroll behavior. When i scroll to an item position, item must locate bottom of sticky header view.
I tried to scrollToPosition, linearSmoothScrooler etc. These scroll behaviours working like recycler scroll behaviour. It is not calculate sticky position. When scroll to an item position, item stayed bottom of sticky header. How can i can implement my intended scroll behaviour?
Thanks,
Example:
Scroll programatically to 0/1 item (position 3)
Custom Scroll Behaviour
I want to implement custom scroll behavior. When i scroll to an item position, item must locate bottom of sticky header view. I tried to scrollToPosition, linearSmoothScrooler etc. These scroll behaviours working like recycler scroll behaviour. It is not calculate sticky position. When scroll to an item position, item stayed bottom of sticky header. How can i can implement my intended scroll behaviour?
Thanks,
Example: Scroll programatically to 0/1 item (position 3)
Start:
After scroll: