Searched refs:getFavoriteContacts (Results 1 – 6 of 6) sorted by relevance
51 favoriteContacts.addSource(mFavoriteNumberRepository.getFavoriteContacts(), contacts -> { in FavoriteViewModel()72 if (mFavoriteNumberRepository.getFavoriteContacts().getValue() != null) { in FavoriteViewModel()73 contactList.addAll(mFavoriteNumberRepository.getFavoriteContacts().getValue()); in FavoriteViewModel()87 public LiveData<FutureData<List<Object>>> getFavoriteContacts() { in getFavoriteContacts() method in FavoriteViewModel
63 favoriteViewModel.getFavoriteContacts().observe(this, contacts -> { in onViewCreated()
77 when(mMockFavoriteViewModel.getFavoriteContacts()).thenReturn(favoriteContacts); in setUp()
105 addSource(mFavoriteNumberRepository.getFavoriteContacts(), in ContactDetailsLiveData()
101 public LiveData<List<Contact>> getFavoriteContacts() { in getFavoriteContacts() method in FavoriteNumberRepository
106 when(mMockFavoriteViewModel.getFavoriteContacts()).thenReturn(new MutableLiveData<>()); in setUp()