eschao / android-PageFlip

3D Style Page Flip on Android
Apache License 2.0
1.74k stars 262 forks source link

Any suggestions on how to handle front and back pages in doublePagesRender? #55

Open simon-rob opened 4 years ago

simon-rob commented 4 years ago

@eschao Many thanks for you work.

I was wondering how to handle the cover and back pages in the DoublePageRender so they are treated like Single Pages. DO you have any insights or pointers that you could think of?

Many thanks Simon

eschao commented 4 years ago

I don't quite understand what do you mean. Why don't you use single page? Do you want to split the screen and every part can work like a single page without impacting each other?

simon-rob commented 4 years ago

@eschao, sorry for not being clearer.

I want to have use the doublepagerender for landscape reading, however the cover pages mess up the pagination.

So I would like the experience to be SinglePageRender for the cover pages and the DoublePagerender experience for the content pages.

Many thanks for your help,

Simon

eschao commented 4 years ago

Sorry, It is a little complex and I never thought such requirement, you can try to use single page render for the cover page, and then use double page render for the left pages, you need to combine these two drawing operations together and switch them by the page number. But I'm not sure if it can work. I didn't try and I think it's a little complicated, not sure if you need to improve PageFlip library to support them. Sorry, I don't have time to try for that.