harism / android-pagecurl

An example application for creating page curl/flip effect on Android using OpenGL ES.
Apache License 2.0
1.66k stars 610 forks source link

Page-curl animation does not work properly when a page turns backwards #112

Open chathura2020 opened 7 years ago

chathura2020 commented 7 years ago

It works well for left to right side(When user reads forward) and loads the correct pages accordingly. But if I turn a page backwards, it's loading the previous page which is ok. Then if I further moves back then it loads a wrong page.

For example : I go through pages until 5, then go back it loads page 4. If I go to another page back it should load page 3. Instead it loads page 6.

I tried with index value in updatePage method as well as mCurrentIndex in CurlView. But still can't figure out how to fix this issue.

dhruvishah22 commented 6 years ago

@chathura2020 have you got any solution? i have same issue @harism kindly help

RmCodes commented 5 years ago

Wait soon I share solution

On Wed, Jun 6, 2018, 2:53 PM dhruvishah22 notifications@github.com wrote:

@chathura2020 https://github.com/chathura2020 have you got any solution? i have same issue

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/harism/android-pagecurl/issues/112#issuecomment-395004591, or mute the thread https://github.com/notifications/unsubscribe-auth/AcWNdF_va1eXLUqUyEUABklTIMyuxQ3rks5t55-VgaJpZM4NTdfr .