android - How to smoothly scroll to a position and make it appear at beginning in RecyclerView? -
i have tried recyclerview.smoothscrolltoposition(int position)
, it's not want. scrolls position child viewport; can either appear @ beginning or end. moreover, if view in viewport, won't anything!
what need scroll position , make appear @ beginning of recyclerview arouse user's attention. how can it?
you can use mrecyclerview.scrolltoposition(position); display list item @ top. go specified position without scrolling effect.
Comments
Post a Comment