Package com.boswelja.ephemeris.core.ui

Types

Link copied to clipboard
class CalendarPageLoader(coroutineScope: CoroutineScope, val calendarPageSource: CalendarPageSource)

Handles loading data from CalendarPageSource, caching and prefetching entries. Platform UIs should make use of this class for their data loading. If the page source or focus mode change, it is expected a new instance will be created and the existing instance discarded. Prefetch and cache operations are handled asynchronously via coroutineScope.