RxJava: concatArrayEager not emitting result from repository for offline case when concatArray is
问题 I have an app with offline functionality that requests data from a repository for getting data from a local database and an api request. The api call updates the local database so that in case the app is offline data is stored in the db is still displayed. My ProjectRepository class has a function getAllProjectByUserId which returns an Observable which combines output from two sources (the database and api call) fun getAllProjectByUserId(userId: Int): Observable<Projects> { // concatArray