Deepti M
07/31/2020, 8:47 PMokarm
07/31/2020, 10:12 PMRecyclerView.Adapter
has a few utility signalling methods.
It sounds to me like you are looking for Adapter.onViewAttachedToWindow
https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView.Adapter#onviewattachedtowindow
From the documentation:
This can be used as a reasonable signal that the view is about to be seen by the user.
gildor
08/01/2020, 2:19 AM