How to change a api parameter when a button is clicked (2)

Im trying to change the page number when the button is clicked but it seems that when I click it, it doesn’t change the page number. Does anyone know a way I can do this?

The values you set on the first API call (second image) is just to connect the API, it doesn’t change with your actions.

I didn’t understand why are you using an API call, neither how it’s set.

Maybe you could achieve a good result with a database field on User like: User’s page? (The only reason I see doing it is if you need 2 different devices to be sincronized, or preventing to going back pages)

Another way to just change pages is to just use states or url parameters