Searched refs:getFavoriteContacts (Results 1 – 8 of 8) sorted by relevance
101 public LiveData<List<Contact>> getFavoriteContacts() { in getFavoriteContacts() method in FavoriteNumberRepository106 public LiveData<List<Contact>> getFavoriteContacts(@Nullable String accountName) { in getFavoriteContacts() method in FavoriteNumberRepository
106 return favoriteNumberRepository.getFavoriteContacts(null); in provideLocalFavoriteContactListLiveData()
109 device -> favoriteNumberRepository.getFavoriteContacts(device.getAddress())); in provideLocalFavoriteContactListLiveData()
103 public LiveData<FutureData<List<Object>>> getFavoriteContacts() { in getFavoriteContacts() method in FavoriteViewModel
72 favoriteViewModel.getFavoriteContacts().observe(this, contacts -> { in onViewCreated()
113 addSource(mFavoriteNumberRepository.getFavoriteContacts(), in ContactDetailsLiveData()
85 when(mFavoriteViewModel.getFavoriteContacts()).thenReturn(favoriteContacts); in startActivity()
108 when(mMockFavoriteViewModel.getFavoriteContacts()).thenReturn(new MutableLiveData<>()); in setUp()