SettingSlider

constructor(title: String, key: String, summary: String? = null, defaultValue: Int? = null, from: Int, to: Int, steps: Int? = null, allowOverride: Boolean = false)

Parameters

title

The title of the setting.

key

The key of the setting.

summary

The summary of the setting.

defaultValue

The default value of the setting.

from

The minimum value of the slider.

to

The maximum value of the slider.

steps

The number of steps between the minimum and maximum values, if null, the slider will be continuous.

allowOverride

Whether the user can use values outside the range.