Class TypingIndicatorViewModel
-
- All Implemented Interfaces:
public final class TypingIndicatorViewModel extends ViewModel
ViewModel used by TypingIndicatorView. It is responsible for updating the state of users who are currently typing.
-
-
Field Summary
Fields Modifier and Type Field Description private final LiveData<List<User>>typingUsers
-
Constructor Summary
Constructors Constructor Description TypingIndicatorViewModel(String cid, ChatClient chatClient, String messageId)
-
Method Summary
Modifier and Type Method Description final LiveData<List<User>>getTypingUsers()A list of users who are currently typing. -
-
Method Detail
-
getTypingUsers
final LiveData<List<User>> getTypingUsers()
A list of users who are currently typing.
-
-
-
-