ToDoState

class ToDoState

Stores all persistent state for this app in a directory, creating it if necessary

Constructors

ToDoState
Link copied to clipboard
fun ToDoState()

Types

Item
Link copied to clipboard
data class Item(uid: String, created: Long, listUid: String, text: String)
List
Link copied to clipboard
data class List(uid: String, title: String)

Functions

itemsByList
Link copied to clipboard
fun itemsByList(listUid: String): OrderedViewSet<ToDoState.Item>

Properties

items
Link copied to clipboard
val items: Shoebox<ToDoState.Item>
lists
Link copied to clipboard
val lists: Shoebox<ToDoState.List>