Searched refs:CategoriesFragmentState (Results 1 – 7 of 7) sorted by relevance
34 private val _categoriesData = MutableLiveData<CategoriesFragmentState>()38 val categoriesData: LiveData<CategoriesFragmentState>46 _categoriesData.postValue(CategoriesFragmentState.Loading) in loadCategories()50 _categoriesData.postValue(CategoriesFragmentState.WithData(result.data)) in loadCategories()53 _categoriesData.postValue(CategoriesFragmentState.Error) in loadCategories()59 sealed class CategoriesFragmentState { class60 object Loading : CategoriesFragmentState()61 object Error : CategoriesFragmentState()63 CategoriesFragmentState()
26 …id.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.WithData in <lambda>()68 HealthDataCategoryViewModel.CategoriesFragmentState.Error -> { in <lambda>()71 HealthDataCategoryViewModel.CategoriesFragmentState.Loading -> { in <lambda>()
32 …droid.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.Error in <lambda>()33 …oid.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.Loading in <lambda>()34 …id.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.WithData in <lambda>()
40 …com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState41 …id.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.WithData115 MutableLiveData<CategoriesFragmentState>(WithData(HEALTH_DATA_ALL_CATEGORIES)) in seeAllCategories_navigatesToSeeAllCategories()134 MutableLiveData<CategoriesFragmentState>(WithData(HEALTH_DATA_ALL_CATEGORIES)) in activityButton_navigatesToActivityDataType()154 MutableLiveData<CategoriesFragmentState>(WithData(HEALTH_DATA_ALL_CATEGORIES)) in oldIA_autoDelete_navigatesToAutoDelete()172 MutableLiveData<CategoriesFragmentState>(WithData(emptyList())) in categoriesFragment_isDisplayed()185 MutableLiveData<CategoriesFragmentState>(WithData(emptyList())) in categoriesFragment_whenNewAppPriorityEnabled_autoDeleteNotDisplayed()198 MutableLiveData<CategoriesFragmentState>(WithData(emptyList())) in categoriesFragment_emptyCategories_noDataViewIsDisplayed_deleteIconIsDisabled()210 MutableLiveData<CategoriesFragmentState>(WithData(HEALTH_DATA_ALL_CATEGORIES)) in categoriesFragment_withCategories_categoryInformationIsDisplayed()227 MutableLiveData<CategoriesFragmentState>(WithData(HEALTH_DATA_ALL_CATEGORIES)) in seeAllCategoriesPreference_isDisplayed()[all …]
41 …com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState42 …droid.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.Error43 …oid.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.Loading44 …id.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.WithData153 MutableLiveData<CategoriesFragmentState>(Loading) in allCategoriesFragment_loadingState_showsLoading()162 MutableLiveData<CategoriesFragmentState>(WithData(emptyList())) in allCategoriesFragment_withData_hidesLoading()170 whenever(viewModel.categoriesData).then { MutableLiveData<CategoriesFragmentState>(Error) } in allCategoriesFragment_withError_showError()
87 MutableLiveData<HealthDataCategoryViewModel.CategoriesFragmentState>( in <lambda>()88 HealthDataCategoryViewModel.CategoriesFragmentState.WithData(emptyList())) in <lambda>()
48 …id.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.WithData209 MutableLiveData<CategoriesFragmentState>(WithData(emptyList())) in manageHealthDataIntent_launchesDataManagementActivity()