CCExtractor / CCExtractor/Flood_Mobile

Implement pagination in the RSS feed screen.

オープン
#194 コメント 10 件 リアクション 0 件 担当者 1 名 @dawarepramod4 に割り当て済み GitHub で見る
enhancement good-to-go
主要言語
Dart
スター
103
フォーク
119
PR マージ指標
30日以内にマージされた PR はありません

説明

**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](url).

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

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

![Torrents RSS feed UI](https://user-images.githubusercontent.com/87525479/222903472-0ebd06e7-a1e3-4a87-bbdf-01bfa70b1fb9.png)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。