MembersViewModelContract

The ViewModel contract for MembersScreen.

Since

1.0.0-beta.2

Inheritors

Properties

Link copied to clipboard
abstract val channelState: StateFlow<UikitGroupChannel>

The StateFlow of the UikitGroupChannel.

Link copied to clipboard

The StateFlow of the SimpleSendbirdEventState for the loadMore request.

Link copied to clipboard
abstract val membersState: StateFlow<List<UikitMember>>

The StateFlow of the list of UikitMember.

Functions

Link copied to clipboard
abstract fun loadMore()

Requests to load more members. This should be called when the member list scrolls to the bottom and requires more members.

Link copied to clipboard

Notifies that the loadMore event has been processed to reset loadMoreEventState to SendbirdEventState.Idle state.