Loading app/src/main/java/foundation/e/apps/ui/search/SearchViewModel.kt +0 −9 Original line number Diff line number Diff line Loading @@ -121,10 +121,6 @@ class SearchViewModel @Inject constructor( isLoading = true val gplaySearchResult = fusedAPIRepository.getGplaySearchResults(query, nextSubBundle) if (!gplaySearchResult.isSuccess()) { // handleException(gplaySearchResult.exception ?: UnknownSourceException()) } val isFirstFetch = nextSubBundle == null nextSubBundle = gplaySearchResult.data?.second Loading Loading @@ -152,11 +148,6 @@ class SearchViewModel @Inject constructor( return currentAppList.distinctBy { it.package_name } } // private fun handleException(exception: Exception) { // exceptionsList.add(exception) // exceptionsLiveData.postValue(exceptionsList) // } /** * @return returns true if there is changes in data, otherwise false */ Loading Loading
app/src/main/java/foundation/e/apps/ui/search/SearchViewModel.kt +0 −9 Original line number Diff line number Diff line Loading @@ -121,10 +121,6 @@ class SearchViewModel @Inject constructor( isLoading = true val gplaySearchResult = fusedAPIRepository.getGplaySearchResults(query, nextSubBundle) if (!gplaySearchResult.isSuccess()) { // handleException(gplaySearchResult.exception ?: UnknownSourceException()) } val isFirstFetch = nextSubBundle == null nextSubBundle = gplaySearchResult.data?.second Loading Loading @@ -152,11 +148,6 @@ class SearchViewModel @Inject constructor( return currentAppList.distinctBy { it.package_name } } // private fun handleException(exception: Exception) { // exceptionsList.add(exception) // exceptionsLiveData.postValue(exceptionsList) // } /** * @return returns true if there is changes in data, otherwise false */ Loading