gelitenight / WaveView

waveview for android
Apache License 2.0
1.59k stars 325 forks source link

How to recognize that wave has covered my screen while holding an button ? #7

Open ritunagpal opened 8 years ago

ritunagpal commented 8 years ago

I want to call some action when wave has covered my screen while holding an button, i implement the motion event action up and down as well. Actually, When the wave covers my screen fully and i release that button,action up called for that button and i check the if(waterLevelAnim.getAnimatedFraction()==1.0) it works But i want to check this thing while holding the button,not releasing the button.

Please help me to solve this.