-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in RTL #185
Comments
You should explain the issue, so that people could find how to solve it. |
Yes i was using rosetta library for language change, when i change language to arabic and orientation changes i cannot perform scrolling on it |
Dear,
i was using Rosetta Library when i switch to RTL layout using arabic
language,
Horizontal Scrolling was not working in it
…On Tue, Nov 28, 2017 at 1:24 PM, AndroidDeveloperLB < ***@***.***> wrote:
You should explain the issue, so that people could find how to solve it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#185 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHFTedVQNgiiFxctcfwJYMG32cuCp0D6ks5s68NIgaJpZM4PMlh->
.
--
Regards:
Zeeshan Rasool
|
I'm not the owner of this repo. I think you should show a minimized sample project, that introduces the issue. |
okay Man Should i Share GIF with issue or Sample Project or APK file |
I think I know what you are talking about RTL. However, I think it's an issue on ViewPager itself, so I've reported about this here: The only workaround is to make some calculations to handle this. For example, to get the current item, you will have to substract from the entire collection. Example: in LTR, you use I think there are some repos that demonstrate how to deal with RTL on ViewPager. |
Yes, This Discussion Contains the Issue which I am facing anyways thanks to
response.
…On Wed, Dec 27, 2017 at 6:38 PM, AndroidDeveloperLB < ***@***.***> wrote:
I think I know what you are talking about RTL. However, I think it's an
issue on ViewPager itself, so I've reported about this here:
https://issuetracker.google.com/issues/71339606
The only workaround is to make some calculations to handle this. For
example, to get the current item, you will have to substract from the
entire collection.
Example: in LTR, you use itemsList.get(pos)
In RTL, you use 'itemsList.get(itemsList.size()-pos)`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#185 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHFTedSqNHurqsiSSJkgw96BpQsJTu2Lks5tEkhDgaJpZM4PMlh->
.
--
Regards:
Zeeshan Rasool
|
Please consider starring it, then. |
I gave you star already loved your work man, |
@AndroidDeveloperLB Dear I found Something in your Code I tried to solve it by simply making reverse layout parameter true for RTL and For LTR false but for that, I have to comment your code portion @OverRide
then it worked. |
i think that might be something with your calculations |
@zeeshanrasool91 Thanks. Sadly this will work only on RecyclerView based solutions, like yours, but the issue I wrote is about ViewPager. |
Another approach for recyclerView - use |
@dmitrychistyakov We are talking about ViewPager. Not RecyclerView. |
i am facing scroll issue in RTL layout
The text was updated successfully, but these errors were encountered: