factory

A factory for creating ChannelViewModel.

Return

The ViewModelProvider.Factory to create the ChannelViewModel.

Since

1.0.0-beta.1

Parameters

params

The ChannelViewModelParams to create the ViewModel with.

See also


fun factory(repository: ChannelScreenResourceRepository): ViewModelProvider.Factory

A factory for creating ChannelViewModel.

Return

The ViewModelProvider.Factory to create the ChannelViewModel.

Since

1.0.0-beta.2

Parameters

repository

The ChannelScreenResourceRepository to create the ViewModel with.