Oddbean new post about | logout
 @87c34046 Having said that... I'm honestly not quite sure if DataStore makes sense for most apps in the wild, it doesn't really add all that much over SharedPrefs for applications that store small amounts of data. 
 @ccfb7e45 I wish SharedPrefs didn't block the main thread to flush on component lifecycle, and it's a bit wasteful to store as XML especially if you have a single value. Other than that, it's pretty robust & simple (though people forget to eagerly call Ctx.getSharedPreferences to trigger async loading of the file)