We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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> ) }} />
<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});}} />
<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(
);}} />
iOS working fine my issue is with android
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: