tangqi92 / WaveLoadingView

An Android library providing to realize wave loading effect.
1.73k stars 313 forks source link

not able to set max progress value #39

Closed mrgogomaster closed 4 years ago

mrgogomaster commented 7 years ago

i am not able to set max value of wave default it is taking 100 please help me to set max value of progress

tangqi92 commented 6 years ago

Hi mrgogomaster,

You can set max progress value by:app:wlv_progressValue="100" or mWaveLoadingView.setProgressValue(100)

mrgogomaster commented 6 years ago

I can set progress values by setting these progress value i wanted to set max progress value .thanks

TejalPatel145 commented 6 years ago

I also want to set max progress value to set different progress at different level. Is it Possible?

jaydeepbhayani commented 6 years ago

@TejalPatel145 YES, U CAN PUT if else conditions for your variation. if (level <= 50) { mWaveLoadingView.setProgressValue(level); }

IvanNoeAlvarez commented 5 years ago

You can use setWaterLevelRatio to modify the water level (0 to 1) while having a different progressValue. Note that must be called after setProgressValue has taken effect, because the animation.