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
Post a Comment