Paging3-Android-Tutorial icon indicating copy to clipboard operation
Paging3-Android-Tutorial copied to clipboard

apiservice function

Open rezafaraji93 opened this issue 4 years ago • 0 comments

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>

rezafaraji93 avatar Apr 21 '21 20:04 rezafaraji93