Hence, I have to revise my code as follow, which looks more cumbersome. This is a bug that existed on platforms prior to KITKAT (i.e.
I also tried adding a shared Preference Change Listener, as described here, but that never seems be called.
android-4.4_r0.7), and it is fixed by commit 94c02a1 The solution from @ilomambo works, but may not be the best one.
I read through the source of package com.example.yourapplication; import android.content.
However, I realize the summary text for list preference will not update automatically.
Only when I perform tick/ untick on check box, only the whole activity will be invalidate and summary text for list preference will ONLY be updated.