SettingsFeedCache

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.

Constructors

Link copied to clipboard
constructor(settings: Settings)

Functions

Link copied to clipboard
open override fun load(topicKey: String): PageDto<PostDto>?
Link copied to clipboard
open override fun save(topicKey: String, page: PageDto<PostDto>)