-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added pagnation to user playlists #150
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this.
Unfortunately, I've made a bit of a mess with regards to implementing pagination, which needs to be fixed.
But this looks fine for now.
Only thing to fix is the hardcoded offset
I spotted a problem with the navigation when paging so I added a check to see if the new table should be added to the navigation stack. |
Thanks for again for the contribution |
@all-contributors please add @Peterkmoss for code |
I've put up a pull request to add @Peterkmoss! 🎉 |
Added some simple pagnation to at least scroll through your playlist. I don't know if this is the best way to implement it but it seems to work fine from my own testing. Please excuse if my Rust is "rusty", it's my first Rust project and I don't know if there is need for memory optimization for this change to not leak memory.