-
public final class CallParticipantViewBindingKt
-
-
Method Summary
Modifier and Type Method Description final static UnitbindPictureInPictureView(CallParticipantView $self, CallViewModel viewModel, LifecycleOwner lifecycleOwner)Binds CallParticipantView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed. -
-
Method Detail
-
bindPictureInPictureView
final static Unit bindPictureInPictureView(CallParticipantView $self, CallViewModel viewModel, LifecycleOwner lifecycleOwner)
Binds CallParticipantView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
- Parameters:
viewModel- CallViewModel for observing data and running actions.lifecycleOwner- The lifecycle owner, root component containing CallParticipantView.
-
-
-
-