EndlessMessageListScrollListener
constructor(loadMoreThreshold: Int, loadMoreAtTopListener: () -> Unit, loadMoreAtBottomListener: () -> Unit)
Parameters
loadMoreThreshold
The number of items or positions ahead of the end of the list where we can trigger the pagination.
loadMoreAtTopListener
The handler which is called when pagination should be triggered in the top direction.
loadMoreAtBottomListener
The handler which is called when pagination should be triggered in the bottom direction.