Package-level declarations

Types

Link copied to clipboard
data class Cgpa(var sem1: Double = 0.0, var sem2: Double = 0.0, var sem3: Double = 0.0, var sem4: Double = 0.0, var sem5: Double = 0.0, var sem6: Double = 0.0, val cgpa: Double = 1.0, val earnCrSem1: Double? = 0.0, val earnCrSem2: Double? = 0.0, val earnCrSem3: Double? = 0.0, val earnCrSem4: Double? = 0.0, val earnCrSem5: Double? = 0.0, val earnCrSem6: Double? = 0.0) : Parcelable

Model class to Cgpa in dataStore

Link copied to clipboard
data class FilterPreferences(val defPercentage: Int, val course: String, val sem: String, val cgpa: Cgpa, val sort: Sort) : Parcelable

Model class to FilterPreferences in dataStore defPercentage default percentage course default course sem default sem cgpa default cgpa sort default sort courseWithSem return course + sem

Link copied to clipboard
@Singleton
class PreferencesManager @Inject constructor(val context: Context)

Manager class for dataStore