In Memory Recent Country Store
class InMemoryRecentCountryStore(initial: List<String> = emptyList(), maxEntries: Int = DefaultRecentCountryStore.DEFAULT_MAX_ENTRIES) : RecentCountryStore(source)
An in-memory RecentCountryStore that survives recomposition but not process death.
Useful for previews, tests, and hosts that want the recents section without persisting anything.
Functions
Link copied to clipboard
Emits the recent ISO alpha-2 codes, most recent first, whenever they change.
Link copied to clipboard
Records that the user selected countryCode, moving it to the front.