Last active
December 2, 2017 05:56
-
-
Save abdurahmanadilovic/2305c78e672e89aef6d62aaf1daae314 to your computer and use it in GitHub Desktop.
Interface for data storage layer in kotlin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface DataStorageContract { | |
suspend fun storeValue(key: String, value: String) | |
suspend fun storeValue(key: String, value: Int) | |
suspend fun getStringValue(key: String): String | |
suspend fun getIntValue(key: String): Int | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment