Home
last modified time | relevance | path

Searched refs:DataEntriesFragmentState (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragmentViewModel.kt50 private val _dataEntries = MutableLiveData<DataEntriesFragmentState>()
51 val dataEntries: LiveData<DataEntriesFragmentState>
57 _dataEntries.postValue(DataEntriesFragmentState.Loading) in loadData()
75 _dataEntries.postValue(DataEntriesFragmentState.Empty) in loadData()
78 _dataEntries.postValue(DataEntriesFragmentState.WithData(list)) in loadData()
83 _dataEntries.postValue(DataEntriesFragmentState.LoadingFailed) in loadData()
122 sealed class DataEntriesFragmentState { class in com.android.healthconnect.controller.dataentries.DataEntriesFragmentViewModel
123 object Loading : DataEntriesFragmentState()
125 object Empty : DataEntriesFragmentState()
127 object LoadingFailed : DataEntriesFragmentState()
[all …]
DDataEntriesFragment.kt40 …id.healthconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.Empty in <lambda>()
41 ….healthconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.Loading in <lambda>()
42 …althconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.LoadingFa… in <lambda>()
43 …healthconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.WithData in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/
DDataEntriesFragmentTest.kt33 …id.healthconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.Empty
34 ….healthconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.Loading
35 …althconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.LoadingFa…
36 …healthconnect.controller.dataentries.DataEntriesFragmentViewModel.DataEntriesFragmentState.WithData