RecentAddressesRepository

@Singleton
class RecentAddressesRepository @Inject constructor(context: Context, dataStore: DataStore<Preferences>) : Logging

Constructors

Link copied to clipboard
@Inject
constructor(context: Context, dataStore: DataStore<Preferences>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun add(address: RecentAddress)
Link copied to clipboard
suspend fun remove(address: String)
Link copied to clipboard
suspend fun setRecentAddresses(addresses: List<RecentAddress>)