Class MessageListViewModelBinding

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit bind(MessageListViewModel $self, MessageListView view, LifecycleOwner lifecycleOwner) Binds MessageListView with MessageListViewModel, updating the view's state based on data provided by the ViewModel, and forwarding View events to the ViewModel.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • bind

         final static Unit bind(MessageListViewModel $self, MessageListView view, LifecycleOwner lifecycleOwner)

        Binds MessageListView with MessageListViewModel, updating the view's state based on data provided by the ViewModel, and forwarding View events to the ViewModel.

        This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.

        Parameters:
        view - The MessageListView to bind the ViewModel to.
        lifecycleOwner - Current owner of the lifecycle in which the events are handled.