Class SearchViewModelBinding
-
- All Implemented Interfaces:
public final class SearchViewModelBinding
-
-
Method Summary
Modifier and Type Method Description final static Unitbind(SearchViewModel $self, SearchResultListView view, LifecycleOwner lifecycleOwner)Binds SearchResultListView with SearchViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed. -
-
Method Detail
-
bind
final static Unit bind(SearchViewModel $self, SearchResultListView view, LifecycleOwner lifecycleOwner)
Binds SearchResultListView with SearchViewModel, 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.
-
-
-
-