Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android render image issue #74

Open
alfayez91 opened this issue May 20, 2020 · 0 comments
Open

android render image issue #74

alfayez91 opened this issue May 20, 2020 · 0 comments

Comments

@alfayez91
Copy link

I have an issue that images are reversed in android, any solution

"react-native": "0.61.4"
"react-native-image-view": "^2.1.9"

here is the list of images
<FlatList contentContainerStyle={styles.content} data={imagesArrayTest.slice()} keyExtractor={(item) => item.id} numColumns={3} renderItem={({ item, index }) => { return ( <TouchableOpacity key={item.id} style={{margin: 10,}} onPress={() =>{ this.setState({imageIndex: index, isImageViewVisible: true })}} > <Image style={{width: 100, height: 100, borderWidth: 1}} source={item.source} resizeMode="cover" /> </TouchableOpacity> ) }} />

here is the ImageView

<ImageView glideAlways images={imagesArrayTest} animationType="fade" isVisible={isImageViewVisible} renderFooter={(currentImage) => ( <View style={{flex:1, alignItems: 'center', margin: 10, height: w.height/10}}> <Text style={{color: '#fff'}}>{currentImage.title}</Text> </View> )} onClose={() => {this.setState({isImageViewVisible: false});console.log("closed", imageIndex)}} onImageChange={index => {console.log(index changes: ${index});}} />

iOS working fine my issue is with android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant