Code used:
imageComponent = {
(
imageProps: {
},
index: number) =>
{
return(
<View style= {{ flex:1, justifyContent: 'center', alignItems: 'center'} }>
<View style= {{flex:1, justifyContent: 'center', alignItems: 'center' }}>
<ActivityIndicator size="large" color="white" />
</View>
<View style= {{position: 'absolute',alignItems: 'center',justifyContent: 'center',
eft: 0,right: 0,top: 0,bottom: 0, }}>
<FadeIn>
<View>
<Image {...imageProps} />
</View>
</FadeIn>
</View>
</View>
);
}
}
I am using iPhone 6plus. while loading large image like panorama wide angle images, the app crashes. How can i fix this issue?
errorComponent
Custom function to render the page of an image that couldn't be displayed. The default is a with a stylized error.
How can i use this error component. can you please share the code to use? or is there any other way to load the large images?
Code used:
imageComponent = {
(
I am using iPhone 6plus. while loading large image like panorama wide angle images, the app crashes. How can i fix this issue?
errorComponent
Custom function to render the page of an image that couldn't be displayed. The default is a with a stylized error.
How can i use this error component. can you please share the code to use? or is there any other way to load the large images?