Flood_Mobile icon indicating copy to clipboard operation
Flood_Mobile copied to clipboard

Implement pagination in the RSS feed screen.

Open DivS-15 opened this issue 2 years ago • 10 comments

Problem description Sometimes, the user can request ‘n’ no. of torrents to be displayed in the feed. In this scenario, loading all the list items at once causes the UI to lag.

Solution We can lazily load the list items in chunks instead of all at once. This is commonly known as pagination. Several optimizations can be made as follows:

  1. Loading items only when the user clicks to ‘load more’.
  2. Retrying/refreshing a network request
  3. Saving the feed items in the local cache first and then displaying them.
  4. Filtering and sorting list items

Implementation We can use a paging library to fetch chunks of data, by their page keys. https://pub.dev/packages/infinite_scroll_pagination.

Are you working on this? (Yes/No) Yes.

This is what the UI would possibly look like ------------------

Torrents RSS feed UI

DivS-15 avatar Mar 04 '23 13:03 DivS-15

@DivS-15 this looks like a great enhancement. You can start working on it. I will assign the issue to you.

Akshatji800 avatar Mar 05 '23 21:03 Akshatji800

Hey anyone working on this? i can work i have used pagination in my projects!

dawarepramod4 avatar Sep 10 '23 18:09 dawarepramod4

Hey anyone working on this? i can work i have used pagination in my projects!

Hello @dawarepramod4 please go ahead. I will assign this issue to you.

Akshatji800 avatar Sep 15 '23 22:09 Akshatji800

Hey @dawarepramod4, are you still working on this? If not, please assign this issue to me.

tb-rules10 avatar Oct 03 '23 19:10 tb-rules10

Yes I am working on it.I was quite busy.. and also I am setting up the project that's why it's taking time...

dawarepramod4 avatar Oct 03 '23 19:10 dawarepramod4

Hey @dawarepramod4 Are you still working on this ? If not ,Please Can I work on it ?

thepranays avatar Oct 29 '23 19:10 thepranays

Sure you can I am still not able to find time to complete it....

dawarepramod4 avatar Oct 29 '23 20:10 dawarepramod4

@dawarepramod4 Do I have to get first assigned to work on it or I can complete the work directly ?

thepranays avatar Oct 30 '23 03:10 thepranays

@dawarepramod4 Do I have to get first assigned to work on it or I can complete the work directly ?

You can start working .... whenever someone see you are working on it... He/she will assign it to you.... Just add message here

dawarepramod4 avatar Oct 30 '23 03:10 dawarepramod4

@Akshatji800 can I work on this issue if no one is working on it ??

Kaps61929 avatar Feb 14 '24 17:02 Kaps61929