MainViewModel

class MainViewModel @Inject constructor(conf: RemoteConfigHelper, pref: SharedPreferences, authUseCases: AuthUseCases, attendanceDao: AttendanceDao, scope: CoroutineScope) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(conf: RemoteConfigHelper, pref: SharedPreferences, authUseCases: AuthUseCases, attendanceDao: AttendanceDao, scope: CoroutineScope)

Types

Link copied to clipboard
data class AppNotificationEnable(val notice: Boolean = true, val event: Boolean = true, val app: Boolean = true)
Link copied to clipboard
interface ChatsEvent
Link copied to clipboard
interface SharedEvents

Properties

Link copied to clipboard
var action: () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun deleteUser(action: suspend () -> Unit): Job
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun fetchRemoteConfigDetails(action: (dao: AttendanceDao, auth: AuthUseCases, pref: SharedPreferences, maxTime: Int, scope: CoroutineScope) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard