override fun onSharedPreferenceChanged(sharedPreferences: SharedPreferences, key: String) {
if (key == PrefsUserInfo.USER_BG_IMAGE_PATH) {
// do something
}
}
And the returned key argument is encoded, so i cannot check for a specific shared preference key. Is this intended?
I have this code: