Example usage for android.preference ListPreference subclass-usage

List of usage examples for android.preference ListPreference subclass-usage

Introduction

In this page you can find the example usage for android.preference ListPreference subclass-usage.

Usage

From source file com.vrem.wifianalyzer.settings.CustomPreference.java

class CustomPreference extends ListPreference {
    CustomPreference(@NonNull Context context, AttributeSet attrs, @NonNull List<Data> data,
            @NonNull String defaultValue) {
        super(context, attrs);
        setEntries(getNames(data));
        setEntryValues(getCodes(data));

From source file it.scoppelletti.mobilepower.preference.BTDevicePreference.java

/**
 * Selezione di un dispositivo Bluetooth.
 * 
 * @since 1.0
 */
public final class BTDevicePreference extends ListPreference implements BTTask, OnBTListener {