android - Sticky button in RecyclerView -


i have vertical recyclerview lots of different views (images, buttons, text etc.). 1 of them "redirect" button (usually placed approximately in center of long list). question how fix "redirect" button @ bottom of screen , when button reaches it's place in list - unfix it, button sticky.

my rough solution make 2 buttons: 1 fixed in parent layout @ bottom, , second 1 in recyclerview. when fixed button reaches 1 in list(their rects on screen @ same positions) - make list button visible , fixed button gone.

is solution or better 1 exists?


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -