Interface ViewModelComponentBuilder
public interface ViewModelComponentBuilder
Interface for creating a
ViewModelComponent.-
Method Summary
Modifier and TypeMethodDescriptionbuild()savedStateHandle(androidx.lifecycle.SavedStateHandle handle) viewModelLifecycle(ViewModelLifecycle viewModelLifecycle)
-
Method Details
-
savedStateHandle
ViewModelComponentBuilder savedStateHandle(@BindsInstance androidx.lifecycle.SavedStateHandle handle) -
viewModelLifecycle
-
build
ViewModelComponent build()
-