In my application, I have a footer at the end of scrolling on all screens (for scrolling screens) and static at the bottom of the screen when (no scrolling).
But I ran into problems to achieve this using a screen that has a list. I use recyclerview to display a list. I want to show the Branding Footer at the end of the recyclerview when it has a scroll and it will be visible when it scrolls below. This can be done using Recyclerview with a footer.

But when the recyclerview has no scroll (when multiple items are in the list), I want the footer to be set to the bottom of the screen.

Thanks in advance!
android footer android-recyclerview
Virat18
source share