Skip to content

Instantly share code, notes, and snippets.

@HarryTylenol
Created August 5, 2019 14:13
Show Gist options
  • Save HarryTylenol/51609ddbd2a380ab8e904b12eec802f3 to your computer and use it in GitHub Desktop.
Save HarryTylenol/51609ddbd2a380ab8e904b12eec802f3 to your computer and use it in GitHub Desktop.
0003_1
// FestivalAPI
@GET(" ... ")
suspend fun get( ... ): FestivalData
// ...
// FestivalDAO
@Query("select * from festivals ...")
fun get( ... ): LiveData<FestivalData>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment