Package-level declarations

Types

Link copied to clipboard
interface FeedCache

Persists the first page of each topic's feed so the app opens on the last-seen brief when it's offline or still loading, instead of a blank error screen. Only the first page is cached — deep pagination isn't worth persisting and always refetches online.

Link copied to clipboard
interface SessionStorage
Link copied to clipboard
class SettingsFeedCache(settings: Settings) : FeedCache

Backed by multiplatform-settings (Web Storage on wasmJs, UserDefaults/SharedPreferences on native), the same store the rest of the app's local state uses — see TopicPreferencesStore.

Link copied to clipboard
class SettingsSessionStorage(settings: Settings) : SessionStorage

Backed by multiplatform-settings rather than androidx.datastore: DataStore's non-Android/web targets are not yet shipped, while this library has full wasmJs support (Web Storage-backed), which this app's target list requires.

Link copied to clipboard

Backed by multiplatform-settings rather than androidx.datastore: DataStore's non-Android/web targets are not yet shipped, while this library has full wasmJs support (Web Storage-backed), which this app's target list requires.

Link copied to clipboard
class SettingsTutorialStore(settings: Settings) : TutorialStore
Link copied to clipboard
Link copied to clipboard
interface TutorialStore

Remembers whether the first-run tutorial has been shown, so it only appears once.