Channel Creation View Model
class ChannelCreationViewModel(repository: ChannelCreationScreenResourceRepository, savedStateHandle: SavedStateHandle) : ViewModel, ChannelCreationViewModelContract
ViewModel class for ChannelCreationScreen.
Since
1.0.0
Constructors
Link copied to clipboard
constructor(repository: ChannelCreationScreenResourceRepository, savedStateHandle: SavedStateHandle)
Properties
Link copied to clipboard
The StateFlow of the SendbirdEventState for the createChannel request.
Link copied to clipboard
The StateFlow of the SimpleSendbirdEventState for the loadMore request.
Link copied to clipboard
The StateFlow of the SendbirdScreenUiState.
Link copied to clipboard
The StateFlow of the list of UikitUser.
Functions
Link copied to clipboard
Requests to create a channel with the selected users. The result will be notified by createChannelEventState.
Link copied to clipboard
Notifies that the createChannel event has been processed to reset createChannelEventState to SendbirdEventState.Idle state.
Link copied to clipboard
Notifies that the loadMore event has been processed to reset loadMoreEventState to SendbirdEventState.Idle state.