-
Notifications
You must be signed in to change notification settings - Fork 456
Open
Description
Environment
react native 0.76.5
Description
I've tested most of the latest versions of the library, but none of them have this feature working.
`<PagerView
style={{ flex: 1 }}
initialPage={indexImagem.current}
>
{imagens.map((item, index) =>
(<View style={{ flex: 1, backgroundColor: 'black' }} key={index}>
<View style={[StyleSheet.absoluteFill, { flex: 1 }]}>
<FastImage
style={[StyleSheet.absoluteFill, { flex: 1 }]}
source={{
uri: item.imagePath,
headers: { Authorization: 'someAuthToken' },
priority: FastImage.priority.high,
}}
resizeMode={FastImage.resizeMode.contain}
/>
</View>
<View
style={{
width: '100%',
flexDirection: 'row',
justifyContent: 'space-between',
backgroundColor: 'transparent',
padding: 10,
}}
>
<TouchableOpacity
onPress={() => [
setModalGaleria(false)
]}
>
<Text
style={{
backgroundColor: 'white',
paddingLeft: 15,
paddingRight: 15,
paddingTop: 5,
paddingBottom: 5,
borderRadius: 50,
fontSize: alturaDaTela * 0.015,
color: '#121212',
}}
>
Sair
</Text>
</TouchableOpacity>
<TouchableOpacity >
<Icon
style={{ padding: 5 }}
name="trash-outline"
size={alturaDaTela * 0.024}
color="white"
/>
</TouchableOpacity>
</View>
</View>
)
)}
</PagerView>`
rossicler-hostalky and alex-gale
Metadata
Metadata
Assignees
Labels
No labels