I'm making a file manager and using the api provided by aws s3, but the response here is the cursor paging function, it's pretty bad that Fb clearly returns the next key and the back key here. then only provide key next and I had to handle key back manually....
And the problem is that as far as I know large data pages like AMZ or Fb will use cursor pagination. So is there any way for me to calculate the total number of pages to display the buttons 1 2 3... like this?
Hope I will get help from those who have had the same problem as me, thanks