ascoders / react-native-image-viewer

🚀 tiny & fast lib for react native image viewer pan and zoom
MIT License
2.45k stars 580 forks source link

unable to render footer as a Flatlist. #271

Closed rahulbhankar786 closed 5 years ago

rahulbhankar786 commented 5 years ago

i am trying to add a image list as footer of ImageViewer. but application crashed without any error. <ImageViewer imageUrls={ data } backgroundColor={'#555'} enablePreload= {true} loadingRender= {()=><ActivityIndicator color={'#fff'} size="large" />} renderFooter={()=> <FlatList horizontal= {true} data={data} keyExtractor = {(item, index) => index+''} renderItem={({item, index}) => <Image source={{ uri: item.url }} style={{ height: '20', width: '20' }} // resizeMode="cover" /> } />} />

rahulbhankar786 commented 5 years ago

sorry . my mistake!!