Forcing LTR in response payload Recycler View#1357
Conversation
That's a good point, but maybe the header section on top should still respect the RTL? I'm not a RTL native so I can't make a good call here. |
It also doesn't help @cortinico. As a native Arabic speaker, it would only help if the information were in Arabic. Since it is in English, it makes sense to keep it in the same direction because it follows the |
cortinico
left a comment
There was a problem hiding this comment.
Thank you very much for the fix. Sorry for the late reivew @Younes-Charfaoui
f249a0e to
ea0e26c
Compare
📷 Screenshots
📄 Context
Suppose you have an app that supports right-to-left (RTL) languages, such as Arabic. In that case, the chucker app will also be RTL, which can sometimes hinder the readability of the response, especially if it is a large JSON. You depend on indentation to locate certain values for debugging purposes or to confirm that specific values have been received. For that reason, I suggest this change.
📝 Changes
I have forced the layout direction of the RecyclerView to be LTR always.
🚫 Breaking
Nothing.
🛠️ How to test
Change the Sysmte language of the test device to arabic, then In the sample App, update the
AndroidManifest.xmlto includeandroid:supportsRtl="true"inapplicationtag, then try to launch some HTTP requests and verify the results that have some json, try this before and after applying the change in the PR.⏱️ Next steps
Not sure, but the same should happen of the overview tab, but it is less critical than this one.