-
public interface BookmarkListStateAn observable state object that manages the current state of a bookmark list.
This class maintains the current list of bookmarks, pagination information, and provides real-time updates when bookmarks or bookmark folders are added, removed, or modified. It automatically handles WebSocket events to keep the bookmark list synchronized.
-
-
Method Summary
Modifier and Type Method Description abstract BookmarksQuerygetQuery()The query used to fetch the bookmarks. abstract StateFlow<List<BookmarkData>>getBookmarks()All the paginated bookmarks. abstract PaginationDatagetPagination()Last pagination information. BooleangetCanLoadMore()-
-
Method Detail
-
getQuery
abstract BookmarksQuery getQuery()
The query used to fetch the bookmarks.
-
getBookmarks
abstract StateFlow<List<BookmarkData>> getBookmarks()
All the paginated bookmarks.
-
getPagination
abstract PaginationData getPagination()
Last pagination information.
-
getCanLoadMore
Boolean getCanLoadMore()
-
-
-
-