Last active
June 25, 2017 12:32
-
-
Save MkhytarMkhoian/1c7bc5d75b03dba6df3267dc3b4eb194 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Observable<SqlBrite.Query> users = db.createQuery("users", "SELECT * FROM users"); | |
| users.subscribe(new Action1<SqlBrite.Query>() { | |
| @Override public void call(SqlBrite.Query query) { | |
| Cursor cursor = query.run(); | |
| // map data... | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment