You can pretty easily create extension functions t...
# arrow
s
You can pretty easily create extension functions that return
Option
on shared pref. I'm not on my pc but something like
fun Shared Preferences.getString(key: String): Option<String> = this.getString(key, null). toOption()