GCX-HCI / tray

a SharedPreferences replacement for Android with multiprocess support
Apache License 2.0
2.29k stars 273 forks source link

can i use listener? #103

Closed erlangparasu closed 7 years ago

erlangparasu commented 7 years ago

can i use listener like: sharedPreferences.registerOnSharedPreferenceChangeListener(this) ? thanks

StefMa commented 7 years ago

Of course. Simply use it with trayPreference.registerOnTrayPreferencrChangeListener. And don't forgot about to unregister it later ☺️

Do you hä e any trouble with that? 🤔

On May 12, 2017 3:06 AM, "erlangparasu" notifications@github.com wrote:

can i use listener like: sharedPreferences.registerOnSharedPreferenceChangeListener(this) ? thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grandcentrix/tray/issues/103, or mute the thread https://github.com/notifications/unsubscribe-auth/AJwYewmpavWGaCuVWVIFaDNHTKZ88nacks5r47CwgaJpZM4NYuoh .

erlangparasu commented 7 years ago

ow thank you.. its work :+1: