Enabling `flashScrollIndicators` example for all platforms
Summary: ... because it was recently implemented for Android. Reviewed By: mmmulani Differential Revision: D5916305 fbshipit-source-id: b8af0f8712e36aee5c44f7ede41da25fc944134f
This commit is contained in:
parent
01a6178873
commit
e9a090fd9b
|
@ -55,13 +55,11 @@ exports.examples = [
|
||||||
onPress={() => { _scrollView.scrollToEnd({animated: true}); }}>
|
onPress={() => { _scrollView.scrollToEnd({animated: true}); }}>
|
||||||
<Text>Scroll to bottom</Text>
|
<Text>Scroll to bottom</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
{ Platform.OS === 'ios' ?
|
<TouchableOpacity
|
||||||
<TouchableOpacity
|
style={styles.button}
|
||||||
style={styles.button}
|
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
||||||
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
<Text>Flash scroll indicators</Text>
|
||||||
<Text>Flash scroll indicators</Text>
|
</TouchableOpacity>
|
||||||
</TouchableOpacity>
|
|
||||||
: null }
|
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -95,13 +93,11 @@ exports.examples = [
|
||||||
onPress={() => { _scrollView.scrollToEnd({animated: true}); }}>
|
onPress={() => { _scrollView.scrollToEnd({animated: true}); }}>
|
||||||
<Text>Scroll to end</Text>
|
<Text>Scroll to end</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
{ Platform.OS === 'ios' ?
|
<TouchableOpacity
|
||||||
<TouchableOpacity
|
style={styles.button}
|
||||||
style={styles.button}
|
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
||||||
onPress={() => { _scrollView.flashScrollIndicators(); }}>
|
<Text>Flash scroll indicators</Text>
|
||||||
<Text>Flash scroll indicators</Text>
|
</TouchableOpacity>
|
||||||
</TouchableOpacity>
|
|
||||||
: null }
|
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue