<RxJava2 | How to process a group Maybes> I'm refa...
# stackoverflow
u
RxJava2 | How to process a group Maybes I'm refactoring code to use RoomDataBase and RxJava2. I have a DataSource which fetches a row by id and returns a Maybe override fun getByAppWidgetId(appWidgetId: Int): Maybe { return mDB.locationDao().getByAppWidgetId(appWidgetId) } Elsewhere I get an array of appWidgetIds for which I want to get the row entries for each of the IDs. I want to combine all of the Maybes into a single Observable and private fun hasCurrentLocationWidget(appWidgetIds: IntArray): Single {...