Open MudssirAhmed opened 1 year ago
@massoudss Issue resolved.
Hey @massoudss, I pushed the changes
Another point is the listener inside onDraw method will be called hundreds of times. Is it OK for your purpose?
No! We have to set it only once.
So we have to find another way.
A general way to determinate view is drawn is using post method.
wavefrom.post( new Runnable() { @Override public void run() { // your code here } });
Let me test and finalize it. Thanks!
So we have to find another way. A general way to determinate view is drawn is using post method.
wavefrom.post( new Runnable() { @Override public void run() { // your code here } });
I test this but it neither gives the result we want. Now I add a flag to indicate whether onComplete is called or not.
Hey, @massoudss is the code safe for you?
Competition listener added. I added this for some progress in UI, Developers will use this to show the progress.
Issue resolved: https://github.com/massoudss/waveformSeekBar/issues/54