You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the problem is in your code, not in the library.
change the imageIndex={currentImageIndex || 0} to imageIndex={currentImageIndex ? currentImageIndex : 0} or just imageIndex={currentImageIndex}
it also depends on how you defined currentImageIndex.
Hi,
I cannot display the selected index image using this package.
Can you please help me to resolve anyone.? Thanks.
Below is my code
<ImageView images={imageData} imageIndex={currentImageIndex || 0} onImageIndexChange={(index) => { setImageIndex(index) } } />
The text was updated successfully, but these errors were encountered: