Searched refs:EntriesFragmentState (Results 1 – 6 of 6) sorted by relevance
58 private val _entries = MutableLiveData<EntriesFragmentState>()59 val entries: LiveData<EntriesFragmentState>93 _entries.postValue(EntriesFragmentState.Loading) in loadData()114 _entries.postValue(EntriesFragmentState.Empty) in loadData()118 _entries.postValue(EntriesFragmentState.With(list)) in loadData()123 _entries.postValue(EntriesFragmentState.LoadingFailed) in loadData()190 sealed class EntriesFragmentState { class191 object Loading : EntriesFragmentState()193 object Empty : EntriesFragmentState()195 object LoadingFailed : EntriesFragmentState()[all …]
31 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty in <lambda>()32 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()33 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()34 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With in <lambda>()
34 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty in <lambda>()35 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()36 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()37 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With in <lambda>()
119 val testObserver = TestObserver<EntriesViewModel.EntriesFragmentState>() in <lambda>()129 EntriesViewModel.EntriesFragmentState.With( in <lambda>()138 val testObserver = TestObserver<EntriesViewModel.EntriesFragmentState>() in <lambda>()148 EntriesViewModel.EntriesFragmentState.With( in <lambda>()156 val testObserver = TestObserver<EntriesViewModel.EntriesFragmentState>() in <lambda>()166 EntriesViewModel.EntriesFragmentState.With(listOf(FORMATTED_MENSTRUATION_PERIOD)) in <lambda>()
32 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty33 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load…34 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load…35 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With
35 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty in <lambda>()36 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()37 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()38 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With in <lambda>()