toggle menu
BIT App
androidJvm
switch theme
search in API
core
/
com.atech.core.datasource.datastore
/
PreferencesManager
Preferences
Manager
@
Singleton
class
PreferencesManager
@
Inject
constructor
(
val
context
:
Context
)
Members
Constructors
Preferences
Manager
Link copied to clipboard
@
Inject
constructor
(
context
:
Context
)
Properties
attendance
Sort
FLow
Link copied to clipboard
val
attendanceSortFLow
:
Flow
<
Sort
>
context
Link copied to clipboard
val
context
:
Context
preferences
Flow
Link copied to clipboard
val
preferencesFlow
:
Flow
<
FilterPreferences
>
Functions
clear
All
Link copied to clipboard
suspend
fun
clearAll
(
)
update
Cgpa
Link copied to clipboard
suspend
fun
updateCgpa
(
cgpa
:
Cgpa
)
update
Course
Link copied to clipboard
suspend
fun
updateCourse
(
value
:
String
)
update
Percentage
Link copied to clipboard
suspend
fun
updatePercentage
(
value
:
Int
)
update
Sem
Link copied to clipboard
suspend
fun
updateSem
(
value
:
String
)
update
Sort
Link copied to clipboard
suspend
fun
updateSort
(
sort
:
Sort
)