Know when a view completely exit or enter the screen
luckv opened this issue · 1 comments
I'm making an app for showing some longs records of data in the screen to the users. I want to let them pin some records with letters, and then when a pinned record go out of the screen, show that pin on the left or on the right side of the screen, based of where record was before exiting the screen. Here is an image of what i suppose to do. The child views have all the same size (1/3 width, 100% height of parent)
My question is, is possible only to know when a child view enter or exit COMPLETELY the screen? I need this information. By now I wasn't able to find any good solution to this problem. RecyclerView doesn't have a good api for this. Thanks in advance for all support
I'm making an app for showing some longs records of data in the screen to the users. I want to let them pin some records with letters, and then when a pinned record go out of the screen, show that pin on the left or on the right side of the screen, based of where record was before exiting the screen. Here is an image of what i suppose to do. The child views have all the same size (1/3 width, 100% height of parent)
My question is, is possible only to know when a child view enter or exit COMPLETELY the screen? I need this information. By now I wasn't able to find any good solution to this problem. RecyclerView doesn't have a good api for this. Thanks in advance for all support