Paging3-Android-Tutorial
Paging3-Android-Tutorial copied to clipboard
apiservice function
How should we act if our api call needs queries other than page index? In my case my api call func is like this:
@GET("api/GetSimilarProducts/{category_id}/{product_id}/{page}")
fun getSimilarProducts(@Path("category_id") category_id: String, @Path("product_id") product_id: String, @Path("page") page: Int): Single<SimilarProducts>