Package 

Interface FeedListState


  • 
    public interface FeedListState
    
                        

    An 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 FeedsQuery getQuery() The original query configuration used to fetch feeds.
      abstract StateFlow<List<FeedData>> getFeeds() All the paginated feeds currently loaded.
      abstract PaginationData getPagination() Last pagination information.
      Boolean getCanLoadMore()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.