-
public final class RecyclerViewTrackingBuilderThis class is primarily to provide an easy-to-use Java API, via BshEComScroll.buildRecyclerViewTracking, so that users of the library can dynamically configure and initialize impression tracking of a RecyclerView.
While this is supported for Kotlin users, the BshRecyclerInterface.trackRecyclerView function is recommended.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRecyclerViewTrackingBuilder.CurrentDataProviderRepresents some class or object that can, on-demand, provide the latest list of RecyclerItemModel that is backing a RecyclerView.
Used in order to specifically derive a subset of RecyclerItemModel that represents the data currently visible to the user.
Note: For now, this requires that the RecyclerView has a single view-type that corresponds to a view of the RecyclerItemModel.
-
Method Summary
Modifier and Type Method Description final UnitstartTracking(RecyclerView recyclerView, RecyclerViewTrackingBuilder.CurrentDataProvider currentDataProvider, String searchId)-
-
Method Detail
-
startTracking
final Unit startTracking(RecyclerView recyclerView, RecyclerViewTrackingBuilder.CurrentDataProvider currentDataProvider, String searchId)
-
-
-
-