Skip to content

Instantly share code, notes, and snippets.

@husaynhakeem
Created September 27, 2017 14:02
Show Gist options
  • Save husaynhakeem/51491bc3207951479c684993126a9b62 to your computer and use it in GitHub Desktop.
Save husaynhakeem/51491bc3207951479c684993126a9b62 to your computer and use it in GitHub Desktop.
@Query("SELECT * FROM pokemon ORDER BY id ASC")
LivePagedListProvider<Integer, Pokemon> pokemons();
@Insert
void insert(Pokemon... pokemons);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment