Skip to content

Instantly share code, notes, and snippets.

@vaibhavgoyal09
Created August 10, 2021 14:08
Show Gist options
  • Save vaibhavgoyal09/6c92d50bc36afd0fddab5ff1f9fea118 to your computer and use it in GitHub Desktop.
Save vaibhavgoyal09/6c92d50bc36afd0fddab5ff1f9fea118 to your computer and use it in GitHub Desktop.
interface DataStoreRepository {
suspend fun putString(key: String, value: String)
suspend fun putInt(key: String, value: Int)
suspend fun getString(key: String): String?
suspend fun getInt(key: String): Int?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment