♻️ Rebuilt fetching state machine
This commit is contained in:
@@ -26,7 +26,7 @@ final marketplaceWebFeedContentNotifierProvider = AsyncNotifierProvider.family
|
||||
.autoDispose(MarketplaceWebFeedContentNotifier.new);
|
||||
|
||||
class MarketplaceWebFeedContentNotifier
|
||||
extends AsyncNotifier<List<SnWebArticle>>
|
||||
extends AsyncNotifier<PaginationState<SnWebArticle>>
|
||||
with AsyncPaginationController<SnWebArticle> {
|
||||
static const int pageSize = 20;
|
||||
|
||||
|
||||
@@ -16,7 +16,8 @@ final marketplaceWebFeedsNotifierProvider = AsyncNotifierProvider.autoDispose(
|
||||
MarketplaceWebFeedsNotifier.new,
|
||||
);
|
||||
|
||||
class MarketplaceWebFeedsNotifier extends AsyncNotifier<List<SnWebFeed>>
|
||||
class MarketplaceWebFeedsNotifier
|
||||
extends AsyncNotifier<PaginationState<SnWebFeed>>
|
||||
with
|
||||
AsyncPaginationController<SnWebFeed>,
|
||||
AsyncPaginationFilter<String?, SnWebFeed> {
|
||||
|
||||
Reference in New Issue
Block a user