8000 Expose the shared pref key by erwan · Pull Request #554 · androidannotations/androidannotations · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Conversation

@erwan
Copy link
Contributor
@erwan erwan commented Apr 11, 2013

This is useful in particular when observing sharedPreferences changes:

@Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
    if (prefs.myPref().key().equals(key) {
        // Do stuff
    }
}

@naixx
Copy link
Contributor
naixx commented Apr 13, 2013

👍

mathieuboniface added a commit that referenced this pull request Apr 13, 2013
Expose the shared pref key
@mathieuboniface mathieuboniface merged commit 3e9f414 into androidannotations:develop Apr 13, 2013
@mathieuboniface
Copy link
Contributor

👍

@erwan erwan deleted the prefKey branch May 9, 2014 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0