From 50a894d3aa10ea4c9d7a4c3971501ab6332c4680 Mon Sep 17 00:00:00 2001 From: Yannick <8698272+THEAccess@users.noreply.github.com> Date: Sat, 11 Apr 2020 13:11:46 +0200 Subject: [PATCH] Make RangeBarWithChart inheritable Changed RangeBarWithChart modifier to "open" --- .../main/java/com/stfalcon/pricerangebar/RangeBarWithChart.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stfalconpricerangebar/src/main/java/com/stfalcon/pricerangebar/RangeBarWithChart.kt b/stfalconpricerangebar/src/main/java/com/stfalcon/pricerangebar/RangeBarWithChart.kt index d942756..5c2f31c 100644 --- a/stfalconpricerangebar/src/main/java/com/stfalcon/pricerangebar/RangeBarWithChart.kt +++ b/stfalconpricerangebar/src/main/java/com/stfalcon/pricerangebar/RangeBarWithChart.kt @@ -31,7 +31,7 @@ import com.stfalcon.pricerangebar.model.BarEntry import kotlinx.android.synthetic.main.item_range_bar.view.* import java.util.* -class RangeBarWithChart @JvmOverloads constructor( +open class RangeBarWithChart @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 ) : ConstraintLayout(context, attrs, defStyleAttr), SimpleRangeView.OnTrackRangeListener { @@ -423,4 +423,4 @@ class RangeBarWithChart @JvmOverloads constructor( typedArray.recycle() } -} \ No newline at end of file +}