Closed abbasnaqdi closed 5 years ago
You're doing it wrong, take a closer look to the readme and l check out sample app
In short, you have to turn off the the expansion animation of the wave(it's in the readme).
And also consider not reading the whole file every time you bind your item, it also produces ridiculously high amount of redundant work, to avoid it, you can store a collection of scaled byte arrays(using Sampler.downSampleAsync
or Sampler.downSample
which fits perfectly in your Rx pipeline BTW) and bind them synchronously, which is way more efficient
You might as well consider using another library, since this one produces waves that are not very accurate
Hello . I used WaveView inside the RecyclerView and found it to be extremely slow and adds extra load on the UI thread.
Please fix this problem. Thank .
setData :
func :