diff --git a/README.md b/README.md index 50bbf47..69f2608 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# sequence-layout +# sequence-layout [![](https://jitpack.io/v/transferwise/sequence-layout.svg)](https://jitpack.io/#transferwise/sequence-layout) A vertical sequence UI component for Android. @@ -19,7 +19,7 @@ And then the actual library dependency to your module's `build.gradle`: ```groovy dependencies { - compile 'com.github.transferwise:sequence-layout:1.0.1' + compile 'com.github.transferwise:sequence-layout:1.0.2' } ``` diff --git a/sequencelayout/build.gradle b/sequencelayout/build.gradle index c895e7c..77ff918 100644 --- a/sequencelayout/build.gradle +++ b/sequencelayout/build.gradle @@ -11,8 +11,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 27 - versionCode 2 - versionName "1.0.1" + versionCode 3 + versionName "1.0.2" 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 2a58076..7d84c67 100644 --- a/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceLayout.kt +++ b/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceLayout.kt @@ -36,7 +36,7 @@ import kotlinx.android.synthetic.main.sequence_step.view.* * * @see com.transferwise.sequencelayout.SequenceStep */ -class SequenceLayout(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) +public class SequenceLayout(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : FrameLayout(context, attrs, defStyleAttr), ViewTreeObserver.OnGlobalLayoutListener { constructor(context: Context) : this(context, null) diff --git a/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStep.kt b/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStep.kt index 3606190..85db81c 100644 --- a/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStep.kt +++ b/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStep.kt @@ -38,7 +38,7 @@ import kotlinx.android.synthetic.main.sequence_step.view.* * * @see com.transferwise.sequencelayout.SequenceLayout */ -class SequenceStep(context: Context?, attrs: AttributeSet?) +public class SequenceStep(context: Context?, attrs: AttributeSet?) : TableRow(context, attrs), ViewTreeObserver.OnGlobalLayoutListener { constructor(context: Context) : this(context, null) @@ -165,7 +165,7 @@ class SequenceStep(context: Context?, attrs: AttributeSet?) this.isActive = isActive } - fun getDot(): SequenceStepDot { + internal fun getDot(): SequenceStepDot { return dot } diff --git a/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStepDot.kt b/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStepDot.kt index 55ef328..a0d57d2 100644 --- a/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStepDot.kt +++ b/sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStepDot.kt @@ -15,7 +15,7 @@ import android.view.View import android.widget.FrameLayout import kotlinx.android.synthetic.main.sequence_dot.view.* -class SequenceStepDot(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) +internal class SequenceStepDot(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : FrameLayout(context, attrs, defStyleAttr) { constructor(context: Context) : this(context, null)