FolioReader / FolioReader-Android

A Java ePub reader and parser framework for Android.
BSD 3-Clause "New" or "Revised" License
2.24k stars 715 forks source link

Swipe left to right for going to next page #382

Open mamaddada opened 5 years ago

mamaddada commented 5 years ago

Hi, I'm trying to change the book direction to support right to left! In our language the beginning of books are from the right side so for going to the next page we need to swipe left to right. How can I change the code to achieve this?! Thanks.

mamaddada commented 5 years ago

Can anybody help?

nphausg commented 5 years ago

I think you can override your code in this function, may be change to position if you want

DirectionalViewpager

Screen Shot 2019-07-30 at 12 08 09 AM
looknear commented 5 years ago

if you are trying to implement RTL, the software architecture force you to change more than just that... Its a work in progress.

On Mon, Jul 29, 2019 at 8:08 PM Infinity Mobile Studio < notifications@github.com> wrote:

I think you can override your code in this function:

DirectionalViewpager

[image: Screen Shot 2019-07-30 at 12 08 09 AM] https://user-images.githubusercontent.com/13111806/62067531-28a3bc80-b25e-11e9-8dc9-587ed1d07487.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FolioReader/FolioReader-Android/issues/382?email_source=notifications&email_token=AAHXLRYZRBRDT2TR6SDLOETQB4P2DA5CNFSM4H4G62FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3BLTWI#issuecomment-516078041, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHXLR75DYKHPGSYLIETR6LQB4P2DANCNFSM4H4G62FA .

akshaysahai19 commented 4 years ago

@looknear is it possible to swipe left and right for page change now?