f2prateek / rx-preferences

Reactive SharedPreferences for Android
http://f2prateek.com/2015/10/05/rx-preferences/
Apache License 2.0
1.54k stars 132 forks source link

Question about deserializing null after migrating to 2.0.0 #123

Open mseroczynski opened 5 years ago

mseroczynski commented 5 years ago

I'm migrating my Adapters to Converters. If in my prefs.xml I have a key with value null how am I supposed to easily migrate Adapter<MyObject?> to Converter<Optional<MyObject>>? Can you confirm that it's possible?

Thank you for your time, simple confirmation would be enough for me.