Class PinnedMessageListViewModel.State

    • Constructor Detail

      • PinnedMessageListViewModel.State

        PinnedMessageListViewModel.State(Boolean canLoadMore, List<Message> results, Boolean isLoading, Date nextDate)
        Parameters:
        canLoadMore - If we've reached the end of messages, to stop triggering pagination.
        results - The messages to render.
        isLoading - If we're currently loading data (initial load).
        nextDate - Date used to fetch next page of the messages.