Photo by NeONBRAND on Unsplash


safe & simple by https://unsplash.com/photos/vO9-gal54go
interface UsersService {    @GET("getAllUsers/{topic}")
suspend fun getAllUsers(@Path("topic") String topic): List<User>
}

How does the repository look like?

Dariush Fat'hi

Android Developer working at Mabna DP

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store