Last active
June 13, 2020 15:53
-
-
Save raulh82vlc/7a01d21df91d2e5576184896ebb20212 to your computer and use it in GitHub Desktop.
Tweet DB Data Source returning an Observable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// query from the Tweet DAO, or DB data source | |
@Query("SELECT * | |
FROM ${Tweet.TABLE_NAME} | |
WHERE tweet_id IN(:tweetIds) ORDER BY created_at DESC") | |
fun retrieveAllTweetsForTweetsIdsRx(tweetIds: List<String>): | |
Observable<List<Tweet>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment