MessagesUiState

data class MessagesUiState(val folders: List<Folder> = emptyList(), val selectedFolder: Folder? = null, val messages: List<MessageListItem> = emptyList(), val isLoading: Boolean = false, val isLoadingMore: Boolean = false, val hasMore: Boolean = true, val currentPosition: Int = 0, val error: AppError? = null)

Constructors

Link copied to clipboard
constructor(folders: List<Folder> = emptyList(), selectedFolder: Folder? = null, messages: List<MessageListItem> = emptyList(), isLoading: Boolean = false, isLoadingMore: Boolean = false, hasMore: Boolean = true, currentPosition: Int = 0, error: AppError? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val error: AppError? = null
Link copied to clipboard
Link copied to clipboard
val hasMore: Boolean = true
Link copied to clipboard
val isLoading: Boolean = false
Link copied to clipboard
val isLoadingMore: Boolean = false
Link copied to clipboard
Link copied to clipboard
val selectedFolder: Folder? = null