Hi! I'm trying to figure out whether the various getX functions in SharedPreferences might return null (and if the defValue can be null)? It seems like only getString and getStringSet are annotated with
@Nullable
for that... 🤔
d
Daniel B Duval
12/02/2021, 10:51 AM
The int primative is non-null and at least hold a value of 0. The same goes for boolean, which is false.