Package 

Class CallAppBarBindingKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit bindView(CallAppBarView $self, CallViewModel viewModel, LifecycleOwner lifecycleOwner, Function0<Unit> onBackPressed, Function0<Unit> onParticipantsPressed) Binds CallView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • bindView

         final static Unit bindView(CallAppBarView $self, CallViewModel viewModel, LifecycleOwner lifecycleOwner, Function0<Unit> onBackPressed, Function0<Unit> onParticipantsPressed)

        Binds CallView 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 CallView.
        onBackPressed - Handler that notifies when the back button has been pressed.
        onParticipantsPressed - Notifies when the participants button has been pressed.