Skip to content

Commit

Permalink
adapt custom view visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
saschoar committed Mar 23, 2018
1 parent a88b33f commit c63d7f5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# sequence-layout
# sequence-layout [![](https://jitpack.io/v/transferwise/sequence-layout.svg)](https://jitpack.io/#transferwise/sequence-layout)
<img align="right" src="https://media.giphy.com/media/TGaDOPfTrX749uhD0L/giphy.gif">
A vertical sequence UI component for Android.

Expand All @@ -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'
}
```

Expand Down
4 changes: 2 additions & 2 deletions sequencelayout/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -165,7 +165,7 @@ class SequenceStep(context: Context?, attrs: AttributeSet?)
this.isActive = isActive
}

fun getDot(): SequenceStepDot {
internal fun getDot(): SequenceStepDot {
return dot
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c63d7f5

Please sign in to comment.