Will Nixon
08/27/2020, 4:06 PMWill Nixon
08/27/2020, 4:12 PMritesh
08/27/2020, 4:19 PMWill Nixon
08/27/2020, 4:21 PMIan Lake
08/27/2020, 4:23 PMcommit()
. apply()
is only about asynchronously writing to disk. The in memory shared preferences that it maintains is immediately updatedWill Nixon
08/27/2020, 4:25 PMeditor.putString('String', 'newVal')
editor.putBoolean("val 1", false)
editor.putBoolean("val 2", false)
editor.apply()
running this, the val 2 doesn’t change, the first two doIan Lake
08/27/2020, 4:34 PMWill Nixon
08/27/2020, 5:00 PM