MindorksOpenSource / Paging3-Android-Tutorial

An example project to demonstrate how to use the Paging-3 in Android.

Home Page:https://mindorks.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apiservice function

rezafaraji93 opened this issue · 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>