ChannelAttachmentsViewModelFactory

Factory for creating instances of ChannelAttachmentsViewModel.

Parameters

cid

The full channel identifier (e.g., "messaging:123").

attachmentTypes

The list of attachment types (e.g., "image", "file").

Constructors

Link copied to clipboard
constructor(cid: String, attachmentTypes: List<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