Skip to content

Commit

Permalink
2019-03-27 12:00
Browse files Browse the repository at this point in the history
Edit attr
  • Loading branch information
Aryan-mor committed Mar 27, 2019
1 parent c1a7b93 commit b91b17c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 350 deletions.
2 changes: 1 addition & 1 deletion advancerecyclerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
versionName "1.0.1"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ open class AdvanceRecyclerView : RecyclerView {

protected fun setOrientationFromAttr(attr: AttributeSet?) {
val a = getStyledAttributes(attr)
val or = a.getInt(R.styleable.AdvanceRecyclerView_ar_orientation, -1)
val or = a.getInt(R.styleable.AdvanceRecyclerView_ar_adre_orientation, -1)
if (or != -1)
orientation = or

Expand Down

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion advancerecyclerview/src/main/res/values/attr.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="AdvanceRecyclerView">
<attr name="ar_orientation">
<attr name="ar_adre_orientation">
<flag name="VERTICAL" value="0" />
<flag name="HORIZONTAL" value="1" />
</attr>
Expand Down

0 comments on commit b91b17c

Please sign in to comment.