factory

A factory class to create an instance of UserInvitationViewModel.

Return

The ViewModelProvider.Factory to create the ViewModel.

Since

1.0.0-beta.1

Parameters

params

The UserInvitationViewModelParams to create the ViewModel.

See also


fun factory(repository: UserInvitationScreenResourceRepository): ViewModelProvider.Factory

A factory class to create an instance of UserInvitationViewModel.

Return

The ViewModelProvider.Factory to create the ViewModel.

Since

1.0.0-beta.2

Parameters

repository

The UserInvitationScreenResourceRepository to create the ViewModel.