Skip to content

registerOnSharedPreferenceChangeListener behavior #14

@tanwarsatya

Description

@tanwarsatya

Hi Sloy,

Thanks for the amazing work you did, it has reduced a good amount of time in development of our settings module.
We are noticing an issue when we have registered a listener to added SharedPreferences. The listener is working fine, but in certain cases where we are updating a string or int it's raising the callback on each key press. The normal behavior we were expecting was to receive a callback once uses completes the editing one field and moves out of the textview.

Any idea what might be happening here, i haven't looked into the code yet. Again thx a lot for great piece of work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions