Package-level declarations

Types

Link copied to clipboard
data class HomeScreechScreenState(val onlineSyllabus: Triple<List<SyllabusUIModel>, List<SyllabusUIModel>, List<SyllabusUIModel>> = Triple( emptyList(), emptyList(), emptyList() ), val offSyllabus: StateFlow<PagingData<SyllabusUIModel>> = MutableStateFlow(PagingData.empty()), val holiday: List<Holiday> = emptyList(), val events: StateFlow<List<EventModel>> = MutableStateFlow(emptyList()))
Link copied to clipboard
Link copied to clipboard
data class HomeScreenState(val course: String = "BCA", val sem: String = "1", val currentCgpa: Cgpa = Cgpa(), val isOnlineSyllabusEnable: Boolean = false, val onlineSyllabus: Triple<List<SyllabusUIModel>, List<SyllabusUIModel>, List<SyllabusUIModel>> = Triple( emptyList(), emptyList(), emptyList() ), val offTheory: StateFlow<PagingData<SyllabusUIModel>> = MutableStateFlow(PagingData.empty()), val offLab: StateFlow<PagingData<SyllabusUIModel>> = MutableStateFlow(PagingData.empty()), val offPractical: StateFlow<PagingData<SyllabusUIModel>> = MutableStateFlow(PagingData.empty()), val holiday: List<Holiday> = emptyList(), val events: StateFlow<List<EventModel>> = MutableStateFlow(emptyList()))
Link copied to clipboard
class HomeViewModel @Inject constructor(syllabusUSeCase: SyllabusUseCase, retrofitUseCase: KTorUseCase, dateStoreCase: DataStoreCases, val firebaseCase: FirebaseCase, pref: SharedPreferences, authUseCases: AuthUseCases, calendar: Calendar) : ViewModel