Skip to content

Commit 87b8b40

Browse files
Package-specific resource name - to avoid possible conflicts with the client apps resources.
1 parent c8a8029 commit 87b8b40

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gravitysnaphelper/src/main/java/com/github/rubensousa/gravitysnaphelper/GravitySnapHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void attachToRecyclerView(@Nullable RecyclerView recyclerView)
7878
if (recyclerView != null) {
7979
if (mGravity == Gravity.START || mGravity == Gravity.END) {
8080
mIsRtlHorizontal
81-
= recyclerView.getContext().getResources().getBoolean(R.bool.is_rtl);
81+
= recyclerView.getContext().getResources().getBoolean(R.bool.com_github_rubensousa_gravitysnaphelper_is_rtl);
8282
}
8383
if (mSnapListener != null) {
8484
recyclerView.addOnScrollListener(mScrollListener);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<bool name="is_rtl">true</bool>
3+
<bool name="com_github_rubensousa_gravitysnaphelper_is_rtl">true</bool>
44
</resources>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<bool name="is_rtl">false</bool>
3+
<bool name="com_github_rubensousa_gravitysnaphelper_is_rtl">false</bool>
44
</resources>

0 commit comments

Comments
 (0)