How To Know When The Next/previous Page Has Completely Loaded In The Page Curl Effect By Harism?
I have implemented Page Curl Effect by harism in my application. Now I need to do some text animation on top of the pages. I am able to put the text over the pages and also able to
Solution 1:
There is method onDrawFrame in CurlView class. There you can see that parts of code where you can determine if page has been completely loaded:
if (mCurlState == CURL_LEFT) {
--mCurrentIndex;
// left curl has been completely loaded//here you can add some code
}
and if it is right page curl
if (mCurlState == CURL_RIGHT) {
++mCurrentIndex;
// right curl has been completely loaded//here you can add some code
}
Post a Comment for "How To Know When The Next/previous Page Has Completely Loaded In The Page Curl Effect By Harism?"