HomeViewModel

class HomeViewModel @Inject constructor(personRepository: PersonRepository, useLootBoxUseCase: UseLootBoxUseCase, val userPreferences: UserPreferences) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(personRepository: PersonRepository, useLootBoxUseCase: UseLootBoxUseCase, userPreferences: UserPreferences)

Properties

Link copied to clipboard
val persons: StateFlow<List<Person>>
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard