forked from upstream-mirrors/OpenTracks
4d54472c93
Part of #1424.
33 lines
1.1 KiB
Java
33 lines
1.1 KiB
Java
package de.dennisguse.opentracks.settings.bluetooth;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
|
|
import androidx.preference.PreferenceDialogFragmentCompat;
|
|
|
|
import de.dennisguse.opentracks.sensors.BluetoothHandlerCyclingCadence;
|
|
|
|
public class BluetoothLeCyclingCadencePreference extends BluetoothLeSensorPreference {
|
|
|
|
public BluetoothLeCyclingCadencePreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
|
|
super(context, attrs, defStyleAttr, defStyleRes);
|
|
}
|
|
|
|
public BluetoothLeCyclingCadencePreference(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
super(context, attrs, defStyleAttr);
|
|
}
|
|
|
|
public BluetoothLeCyclingCadencePreference(Context context, AttributeSet attrs) {
|
|
super(context, attrs);
|
|
}
|
|
|
|
public BluetoothLeCyclingCadencePreference(Context context) {
|
|
super(context);
|
|
}
|
|
|
|
@Override
|
|
public PreferenceDialogFragmentCompat createInstance() {
|
|
return BluetoothLeSensorPreferenceDialog.newInstance(getKey(), BluetoothHandlerCyclingCadence.CYCLING_CADENCE);
|
|
}
|
|
}
|