Skip to content

Commit

Permalink
delete test array from view
Browse files Browse the repository at this point in the history
  • Loading branch information
sneiko committed Mar 16, 2019
1 parent e67d4c3 commit d7ccab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() {
setContentView(R.layout.activity_main)

gradientChart.chartValues = arrayOf(
10f, 30f, 25f, 32f, 13f, 5f, 18f, 36f, 20f, 30f, 28f, 27f, 29f
40f, 40f, 40f, 32f, 13f, 5f, 18f, 36f, 20f, 30f, 28f, 27f, 29f
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ import android.util.Log
class GradientChart : View {

// region public settings
var chartValues: Array<Float> = arrayOf(
10f, 30f, 25f, 32f, 13f, 5f, 18f, 36f, 20f, 30f, 28f, 27f, 29f
)
var chartValues: Array<Float> = arrayOf()
set(value) {
field = value
invalidate()
Expand Down

0 comments on commit d7ccab5

Please sign in to comment.