Comments (2)
Yeah and it would be wrong names. Because that is exactly what these settings DON'T do, because it would be horrible for i18n. The settings lock the swiping to swiping from the text start to the text end (same as all the other Android settings for start and end values do, like paddingStart, drawableStart).
So the above names are true for left-to-right languages, but for right-to-left languages its exactly the opposite (start is on the right side and end on the left).
So naming the variables RightToLeft would be very confusing, since you cannot be sure, if I just coded crap and the settings totally ignore i18n and always lock to left-to-right no matter if you are in a LTR or RTL language, or if I just am LTR centric, and switch to start-from-end and just named the variables wrong. With the start and end values, this confusing is solved and naming style is the same as used everywhere else in the Android framework.
from enhancedlistview.
Ok, sounds plausible for me :-) Thanks for your detailed answer on this topic.
from enhancedlistview.
Related Issues (20)
- blockDescendants should be blocksDescendants HOT 1
- ArrayIndexOutOfBoundsException while Scrolling HOT 6
- New GMail like design HOT 2
- Open Source License HOT 2
- Swipeable list items inside a fragment in a ViewPager
- Unable to compare strings in onitemclicklistener HOT 1
- The undo toast is placed under the navigation bar and does not disappear on Android L preview HOT 1
- Enabled loading library in Eclipse HOT 2
- Undo toast does not disappear HOT 3
- Left Swipe Handler?
- Problem with SwipeRefreshLayout HOT 5
- IllegalStateException during "stress test"
- EnhancedListView consuming events it shouldn't
- [Important] Deprecation Notice HOT 8
- Android 5.0 Undo message appearing on top of Navigationbar. HOT 1
- EnhanchedListView updates all same rows, but i need update only for position
- Null pointer exception when deleting items by calling delete()
- Incorrect use of @ resource reference symbols
- in case of @android:windowEnterAnimation clash
- Google account password reset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enhancedlistview.