Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29606

I need header sticky without using library in react native [closed]

$
0
0

I need a header sticky without using any plugin in react native. it's possible I am using this way

<SafeAreaView style={styles.container}>        <ScrollView style={styles.scrollView} stickyHeaderIndices={[1]}      showsVerticalScrollIndicator={false}><Text style={styles.text2}>          0000000dd</Text><Text style={styles.text}>          Lorem ipsum dolor sit amet              </Text></ScrollView></SafeAreaView>// css hereconst styles = StyleSheet.create({  text: {    fontSize: 42,  },  text2:{    position:"absolute",    top:0,    width:"100%"  }});

Viewing all articles
Browse latest Browse all 29606

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>