Skip to content

Commit

Permalink
Provide attribute destination enable.
Browse files Browse the repository at this point in the history
  • Loading branch information
fajaragungpramana committed Jun 24, 2021
1 parent afc1785 commit 99813cb
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ class TrackingView(context: Context, attrs: AttributeSet?) : LinearLayout(contex
mIndicator.indicatorSize = field
}

var isDestinationEnabled: Boolean = false
get() = mIndicator.isDestination
set(value) {
field = value

mIndicator.isDestination = field
}

init {

orientation = VERTICAL
Expand Down

0 comments on commit 99813cb

Please sign in to comment.