How to keep track of slide changes?
dswbx opened this issue · comments
is there a way to track a slide change (i.e. onChange
)? Like e.g. onDismiss
gives the option to catch when viewer has been dismissed.
@BANG88 is there a possibility to add such an event?
I need it to sync the image carousel. There is an image carousel showing cropped images, once pressed PhotoViewer shows up (with full version of images). When changing index within PhotoView, the carousel below should update according.
Maybe will implement it in the future. would you like give it a try ?
that'll be awesome :)
what do you mean, me trying to create a PR? I can try, but my native knowledge is limited..
but doesn't this line here trigger the event to react native (commented out)?
photo-viewer/ios/MerryPhotoViewManager.m
Line 28 in 243b7c9
and here on Android:
Yep.
So why have those been commented out? Has there been an issue?
Because this feature are useless and yes its a WIP feature. not complete yet.
I understand, I'll be patient. Thanks for your help 👍