Skip to content

Instantly share code, notes, and snippets.

@sasssass
Created May 19, 2020 20:39
Show Gist options
  • Save sasssass/7cf3e8895935be5ceb68b184dac7e391 to your computer and use it in GitHub Desktop.
Save sasssass/7cf3e8895935be5ceb68b184dac7e391 to your computer and use it in GitHub Desktop.
webService Interface
interface webService {
@GET("posts")
suspend fun getPosts() : MutableList<Post>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment