Hello,
Using an intArray of zeroes will cause the seekbar to be invisible or not rendered
waveFormSeekbar.setSampleFrom(intArrayOf(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0))
this is probably because of MaxValue being 0 which leads to a NaN in the waveHeight variable inside onDraw.
Hello, Using an intArray of zeroes will cause the seekbar to be invisible or not rendered
waveFormSeekbar.setSampleFrom(intArrayOf(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0))
this is probably because of MaxValue being 0 which leads to a NaN in the waveHeight variable inside onDraw.