diff --git a/README.md b/README.md index 6e4d47d..5421e37 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ And then the actual library dependency to your module's `build.gradle`: ```groovy dependencies { - implementation 'com.github.transferwise:sequence-layout:1.0.6' + implementation 'com.github.transferwise:sequence-layout:1.0.7' } ``` diff --git a/sequencelayout/build.gradle b/sequencelayout/build.gradle index 2e70b73..eab69b2 100644 --- a/sequencelayout/build.gradle +++ b/sequencelayout/build.gradle @@ -11,8 +11,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 27 - versionCode 6 - versionName "1.0.6" + versionCode 7 + versionName "1.0.7" archivesBaseName = "com.transferwise.sequencelayout-${versionName}" } diff --git a/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceLayout.kt b/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceLayout.kt index 4de861f..4a9aa3b 100644 --- a/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceLayout.kt +++ b/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceLayout.kt @@ -115,7 +115,7 @@ public class SequenceLayout(context: Context?, attrs: AttributeSet?, defStyleAtt val item = adapter.getItem(i) val view = SequenceStep(context) adapter.bindView(view, item) - stepsWrapper.addView(view) + addView(view) } start() }