Closed rahulbhankar786 closed 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" /> } />} />
<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" /> } />} />
sorry . my mistake!!
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" /> } />} />