IT. Expert System.

Android Reference

Preference.OnPreferenceChangeListener


android.preference

Interface Preference.OnPreferenceChangeListener

  • Enclosing class:
    Preference


    public static interface Preference.OnPreferenceChangeListener
    Interface definition for a callback to be invoked when the value of this Preference has been changed by the user and is about to be set and/or persisted. This gives the client a chance to prevent setting and/or persisting the value.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean onPreferenceChange(Preference preference, Object newValue)
      Called when a Preference has been changed by the user.
    • Method Detail

      • onPreferenceChange

        boolean onPreferenceChange(Preference preference,
                                 Object newValue)
        Called when a Preference has been changed by the user. This is called before the state of the Preference is about to be updated and before the state is persisted.
        Parameters:
        preference - The changed Preference.
        newValue - The new value of the Preference.
        Returns:
        True to update the state of the Preference with the new value.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 795 / . Delta: 0.00566 с