How to use Tap in Android? #546
Labels
platform: Android
Issue related to Android platform
question
Further information is requested
requires: author feedback
Item requires some author's action
Projects
Ask your Question
Tapping the slider to change the value works with iOS, but not in Android.
This is in the documentation called tapToSeek.
How can I make that work in Android by tapping?
''
' '
Brightness: {SliderBrightness} %
{'\n'}OFF
<Slider
style={styles.SliderMargin}
step={1}
disabled={!isEnabled} //If Glowing is activated, the Slider could not be changed.
// tapToSeek={true}
minimumTrackTintColor="#307ecc"
maximumTrackTintColor="#000000"
maximumValue={100}
minimumValue={0}
value={SliderBrightness} //Updates on real time. Excellent.
onSlidingComplete={val => {
// console.log('OnSlidingComplete: ',SliderBrightness);
ChangeBrightnessHappened = true;
//setSliderBrightness(val);
Gibo_Fetch('IGBT=' + val + '&Angga=' + ESPSerialNum);
}}
onValueChange={val => setSliderBrightness(val)}
/>
{'\n'}ON
Slider at 0 value will turn OFF the light. 100 will turn ON. Tap the
track to move the slider. If Dimming is active, Brightness can't be
moved.
The text was updated successfully, but these errors were encountered: