toggle menu
stream-chat-android
6.8.0
androidJvm
switch theme
search in API
stream-chat-android-ui-components
/
io.getstream.chat.android.ui.viewmodel.pinned
/
PinnedMessageListViewModelFactory
Pinned
Message
List
View
Model
Factory
class
PinnedMessageListViewModelFactory
(
cid
:
String
?
)
:
ViewModelProvider.Factory
A ViewModel factory for PinnedMessageListViewModel.
Parameters
cid
The channel id in the format messaging:123.
See also
Pinned
Message
List
View
Model
Members
Constructors
Pinned
Message
List
View
Model
Factory
Link copied to clipboard
constructor
(
cid
:
String
?
)
Types
Builder
Link copied to clipboard
class
Builder
constructor
Functions
create
Link copied to clipboard
open
override
fun
<
T
:
ViewModel
>
create
(
modelClass
:
Class
<
T
>
)
:
T
Inherited functions
create
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