toggle menu
BIT App
androidJvm
switch theme
search in API
bitapp
/
com.atech.bit.ui.screens.cgpa
/
CgpaViewModel
Cgpa
View
Model
class
CgpaViewModel
@
Inject
constructor
(
case
:
DataStoreCases
,
authUseCases
:
AuthUseCases
)
:
ViewModel
Members
Constructors
Cgpa
View
Model
Link copied to clipboard
@
Inject
constructor
(
case
:
DataStoreCases
,
authUseCases
:
AuthUseCases
)
Properties
has
Error
Link copied to clipboard
val
hasError
:
State
<
Boolean
>
saved
Calculate
CGPA
Link copied to clipboard
val
savedCalculateCGPA
:
State
<
Double
>
saved
Course
Link copied to clipboard
val
savedCourse
:
State
<
String
>
saved
Sem
Link copied to clipboard
val
savedSem
:
State
<
Int
>
sem1
Link copied to clipboard
val
sem1
:
State
<
CgpaEditModel
>
sem2
Link copied to clipboard
val
sem2
:
State
<
CgpaEditModel
>
sem3
Link copied to clipboard
val
sem3
:
State
<
CgpaEditModel
>
sem4
Link copied to clipboard
val
sem4
:
State
<
CgpaEditModel
>
sem5
Link copied to clipboard
val
sem5
:
State
<
CgpaEditModel
>
sem6
Link copied to clipboard
val
sem6
:
State
<
CgpaEditModel
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
on
Event
Link copied to clipboard
fun
onEvent
(
event
:
CGPAEvent
)