Skip to content

Commit c63d7f5

Browse files
committed
adapt custom view visibility
1 parent a88b33f commit c63d7f5

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sequence-layout
1+
# sequence-layout [![](https://jitpack.io/v/transferwise/sequence-layout.svg)](https://jitpack.io/#transferwise/sequence-layout)
22
<img align="right" src="https://media.giphy.com/media/TGaDOPfTrX749uhD0L/giphy.gif">
33
A vertical sequence UI component for Android.
44

@@ -19,7 +19,7 @@ And then the actual library dependency to your module's `build.gradle`:
1919

2020
```groovy
2121
dependencies {
22-
compile 'com.github.transferwise:sequence-layout:1.0.1'
22+
compile 'com.github.transferwise:sequence-layout:1.0.2'
2323
}
2424
```
2525

sequencelayout/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ android {
1111
defaultConfig {
1212
minSdkVersion 19
1313
targetSdkVersion 27
14-
versionCode 2
15-
versionName "1.0.1"
14+
versionCode 3
15+
versionName "1.0.2"
1616
archivesBaseName = "com.transferwise.sequencelayout-${versionName}"
1717
}
1818

sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceLayout.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import kotlinx.android.synthetic.main.sequence_step.view.*
3636
*
3737
* @see com.transferwise.sequencelayout.SequenceStep
3838
*/
39-
class SequenceLayout(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
39+
public class SequenceLayout(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
4040
: FrameLayout(context, attrs, defStyleAttr), ViewTreeObserver.OnGlobalLayoutListener {
4141

4242
constructor(context: Context) : this(context, null)

sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStep.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import kotlinx.android.synthetic.main.sequence_step.view.*
3838
*
3939
* @see com.transferwise.sequencelayout.SequenceLayout
4040
*/
41-
class SequenceStep(context: Context?, attrs: AttributeSet?)
41+
public class SequenceStep(context: Context?, attrs: AttributeSet?)
4242
: TableRow(context, attrs), ViewTreeObserver.OnGlobalLayoutListener {
4343

4444
constructor(context: Context) : this(context, null)
@@ -165,7 +165,7 @@ class SequenceStep(context: Context?, attrs: AttributeSet?)
165165
this.isActive = isActive
166166
}
167167

168-
fun getDot(): SequenceStepDot {
168+
internal fun getDot(): SequenceStepDot {
169169
return dot
170170
}
171171

sequencelayout/src/main/java/com/transferwise/sequencelayout/SequenceStepDot.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import android.view.View
1515
import android.widget.FrameLayout
1616
import kotlinx.android.synthetic.main.sequence_dot.view.*
1717

18-
class SequenceStepDot(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
18+
internal class SequenceStepDot(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
1919
: FrameLayout(context, attrs, defStyleAttr) {
2020

2121
constructor(context: Context) : this(context, null)

0 commit comments

Comments
 (0)