Skip to content

Conversation

@alevkon
Copy link

@alevkon alevkon commented Aug 9, 2021

The renderImage should know which image it's rendering, to be able to get additional information about the image. Using currentIndex seems to be a really bad workaround. During swiping renderImage is being used to render two images, but currentImage is pointing only at one of them.

@alevkon alevkon changed the title Add "index" into renderImage arguments Add "index" into the renderImage arguments Aug 9, 2021
Copy link

@SebastianCoraccio SebastianCoraccio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alevkon alevkon merged commit 2a4b8ce into master Aug 10, 2021
@alevkon alevkon deleted the add-index-to-render-image branch August 10, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants