-
public interface PollListStateAn observable state object that manages the current state of a poll list.
This interface provides access to the current query, the list of polls, pagination information, and whether more polls can be loaded.
-
-
Method Summary
Modifier and Type Method Description abstract PollsQuerygetQuery()The query used to fetch the polls. abstract StateFlow<List<PollData>>getPolls()All the paginated polls. abstract PaginationDatagetPagination()Last pagination information. BooleangetCanLoadMore()-
-
Method Detail
-
getQuery
abstract PollsQuery getQuery()
The query used to fetch the polls.
-
getPagination
abstract PaginationData getPagination()
Last pagination information.
-
getCanLoadMore
Boolean getCanLoadMore()
-
-
-
-