Back to project page protohipster.
The source code is released under:
Apache License
If you think the Android project protohipster listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.flipper83.protohipster.feed.datasource.api.call.rest.request; /*from w ww . ja v a 2 s . c om*/ import com.flipper83.protohipster.feed.datasource.api.call.rest.GetFeedCall; import com.flipper83.protohipster.feed.datasource.api.call.rest.response.GetFeedResponse; import retrofit.http.GET; import retrofit.http.Query; import retrofit.Callback; /** * The request for the feed */ public interface GetFeedRequest { public final static String SEED_HIPSTER = "hipster"; /** * randomUser.me don't have page suppont, and the limit in one all is 5 users. I'm going to * simulate the page system with the seed param. */ @GET("/") void getRandomUsers(@Query("results") int maxUsers,@Query("seed") int page, Callback<GetFeedResponse> callback); }