-
public final class ParticipantsUseCase
-
-
Field Summary
Fields Modifier and Type Field Description private final GroupieAdapteradapterprivate final UnitparticipantPeerUpdateprivate final MeetingViewModelmeetingViewModelprivate final Function1<HMSPeer, Unit>showSwitchRoleBottomSheetprivate final Function0<Unit>enterGroupFiltering
-
Constructor Summary
Constructors Constructor Description ParticipantsUseCase(MeetingViewModel meetingViewModel, LifecycleCoroutineScope scope, LifecycleOwner viewLifecycleOwner, Function1<HMSPeer, Unit> showSwitchRoleBottomSheet, Function0<Unit> enterGroupFiltering)
-
Method Summary
Modifier and Type Method Description final GroupieAdaptergetAdapter()final UnitgetParticipantPeerUpdate()final MeetingViewModelgetMeetingViewModel()final Function1<HMSPeer, Unit>getShowSwitchRoleBottomSheet()final Function0<Unit>getEnterGroupFiltering()final UnitroleFiltering(String filterByGroupType)final UnitinitSearchView(EditText textInputSearch, LifecycleCoroutineScope scope)final UnitinitRecyclerView(RecyclerView recyclerView)final UnitupdateParticipantsAdapter(List<HMSPeer> allPeers)final Unitclear()-
-
Constructor Detail
-
ParticipantsUseCase
ParticipantsUseCase(MeetingViewModel meetingViewModel, LifecycleCoroutineScope scope, LifecycleOwner viewLifecycleOwner, Function1<HMSPeer, Unit> showSwitchRoleBottomSheet, Function0<Unit> enterGroupFiltering)
-
-
Method Detail
-
getAdapter
final GroupieAdapter getAdapter()
-
getParticipantPeerUpdate
final Unit getParticipantPeerUpdate()
-
getMeetingViewModel
final MeetingViewModel getMeetingViewModel()
-
getShowSwitchRoleBottomSheet
final Function1<HMSPeer, Unit> getShowSwitchRoleBottomSheet()
-
getEnterGroupFiltering
final Function0<Unit> getEnterGroupFiltering()
-
roleFiltering
final Unit roleFiltering(String filterByGroupType)
-
initSearchView
final Unit initSearchView(EditText textInputSearch, LifecycleCoroutineScope scope)
-
initRecyclerView
final Unit initRecyclerView(RecyclerView recyclerView)
-
updateParticipantsAdapter
final Unit updateParticipantsAdapter(List<HMSPeer> allPeers)
-
-
-
-