features/home / com.vmadalin.dynamicfeatures.home.ui / HomeViewModel

HomeViewModel

class HomeViewModel : ViewModel

View model responsible for preparing and managing the data for HomeFragment.

See Also

ViewModel

Constructors

<init>

View model responsible for preparing and managing the data for HomeFragment.

HomeViewModel()

Properties

state

val state: LiveData<HomeViewState>

Functions

navigationControllerChanged

Navigation controller add destination changed listener.

fun navigationControllerChanged(navController: NavController): Unit