factory

A factory for creating ChannelSettingsViewModel.

Return

The ViewModelProvider.Factory to create the ChannelSettingsViewModel.

Since

1.0.0-beta.1

Parameters

params

The ChannelSettingsViewModelParams to create the ViewModel with.

See also


fun factory(repository: ChannelSettingsScreenResourceRepository): ViewModelProvider.Factory

A factory for creating ChannelSettingsViewModel.

Return

The ViewModelProvider.Factory to create the ChannelSettingsViewModel.

Since

1.0.0-beta.2

Parameters

repository

The ChannelSettingsScreenResourceRepository to create the ViewModel with.