Paged List State
data class PagedListState @JvmOverloads constructor(val filters: Map<String, String> = emptyMap(), val sorts: Map<String, SortState> = emptyMap(), val caseSensitive: Map<String, Boolean> = emptyMap(), val pageSize: Int = 15, val isDistinct: Boolean = false)
Serializable snapshot of a PagedList's user-controllable state — the per-column filters, sorts, case-sensitivity flags, the page size and the distinct flag.
Obtained via PagedList.saveState and re-applied via PagedList.restoreState. Use to persist a grid / picker screen's state across navigation.
All fields are plain data (primitives, strings, enums and maps of them) so the state can be round-tripped through any serialization framework — JSON, Parcelable, Kotlinx Serialization, etc. — without extra annotations or custom type adapters.
Constraints, selection, input parsers and the columns themselves are not part of the state — they are structural.