-
public interface FeedListStateAn observable state object that manages the current state of a feed list.
This class maintains the current list of feeds, pagination information, and provides real-time updates when feeds are added, removed, or modified. It automatically handles WebSocket events to keep the feed list synchronized.
-
-
Method Summary
Modifier and Type Method Description abstract FeedsQuerygetQuery()The original query configuration used to fetch feeds. abstract StateFlow<List<FeedData>>getFeeds()All the paginated feeds currently loaded. abstract PaginationDatagetPagination()Last pagination information. BooleangetCanLoadMore()-
-
Method Detail
-
getQuery
abstract FeedsQuery getQuery()
The original query configuration used to fetch feeds.
This contains the feed ID, filters, sorting options, and pagination parameters that were used to create the initial feed list.
-
getPagination
abstract PaginationData getPagination()
Last pagination information.
-
getCanLoadMore
Boolean getCanLoadMore()
-
-
-
-