I have a recycler view starting from top of screen going to the bottom of screen. At the bottom of screen there is one more view which hides the last item of recycler view.
I want recycler view to scroll a bit more, up to the top of the bottom element. So the last item could be visible.
I know, like i can add some dummy empty item at the end of list in recycler view. But i do not want to disturb the number of items in the recycler view. Should i resize the height of the last item of the recycler view so that its content comes above the bottom element?
Anyone has some better idea. whats the best way to do it?
I got the answer. need to set this in recyclerview
android:clipToPadding="false"
android:paddingBottom="the bottom padding needed"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With