Skip to content Skip to sidebar Skip to footer

Why Does Not The Reload() Webview When You Change The Position Of Touch

Good evening! Why does not Reload() by changing the touch position. After all, the code seems correct. From the code, I think you will understand what I need. Preferred is the easi

Solution 1:

There are a few things going wrong here. When you don't assign default values to floats they default to 0.0, so in your case Start and Fin both start out at 0.0. In Android onCreate is called when your Activity is created, which means that it only gets called once when you launch you app. That means when your onCreate is called Start and Fin are both 0.0, so Start < Fin is false so you never create the timer.


Post a Comment for "Why Does Not The Reload() Webview When You Change The Position Of Touch"