AudioPlayerViewModelFactory

class AudioPlayerViewModelFactory(getAudioPlayer: () -> AudioPlayer, getRecordingUri: (Attachment) -> String?) : ViewModelProvider.Factory

Constructors

Link copied to clipboard
constructor(getAudioPlayer: () -> AudioPlayer, getRecordingUri: (Attachment) -> String?)

Functions

Link copied to clipboard
open override fun <T : ViewModel> create(modelClass: Class<T>): T

Inherited functions

Link copied to clipboard
open fun <T : ViewModel> create(modelClass: Class<T>, extras: CreationExtras): T
open fun <T : ViewModel> create(modelClass: KClass<T>, extras: CreationExtras): T