AccountViewModel

class AccountViewModel(authRepository: AuthRepository, profileRepository: ProfileRepository, followedTopics: StateFlow<Set<Topic>>, bookmarkIds: StateFlow<Set<String>>, userDataRepository: UserDataRepository) : ViewModel

Constructors

Link copied to clipboard
constructor(authRepository: AuthRepository, profileRepository: ProfileRepository, followedTopics: StateFlow<Set<Topic>>, bookmarkIds: StateFlow<Set<String>>, userDataRepository: UserDataRepository)

Properties

Link copied to clipboard
val effects: SharedFlow<AccountEffect>
Link copied to clipboard
val state: StateFlow<AccountState>

Functions

Link copied to clipboard
fun onIntent(intent: AccountIntent)