Last active
January 19, 2020 01:08
-
-
Save Rasalexman/5230bb7a21f6e22366a8fa4e128a9868 to your computer and use it in GitHub Desktop.
api interface for retrofit
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
interface ISimpleApi { | |
@GET("data/list") | |
suspend fun getListData( | |
@Query("page") page: Int | |
): List<SomeRemoteModel> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment