Android and calling JavaScript. Partial execution :)
<p>There is a problem that may be you can help me with.</p>

<p><strong>What I used to have:</strong></p>

<p>1) A web page with &lt; div >, javascript array with content, 2 images representing forth and back buttons. When user presses on a button a simple function is executed: increment/decrement a counter, find div by id, assign a content from array. 
Very easy, always worked </p>

<p>2) And app which just a webview to load the webpage from 1)</p>

<p><strong>What I wanted to make</strong></p>

<p>1) Add gesture recongnition to my app and on fling - directly call javasctipt functions from my webpage (functions used to be called from a button press)</p>

<p>2) hide buttons on a webpage</p>

<p><strong>What I got</strong></p>

<p>1) Fling always worked</p>

<p>2) Javascript always called</p>

<p>3) the counter in the functions always increased/decresed</p>

<p>4) BUT: the content of div not always updated. in 90% it works, but in 10% it seems like fling did not work. If you keep flinging - then div will be update but there will be a jump. Just with the correct number of "failed" flings performed.</p>

<p>I was trying to add "debug facility": add callback from webpage to my app at the bottom fo the functions - it works. I am sure that the functions are being executed completely.</p>

<p>But why the hell div is not always updated?!</p>

<p>Known issue? </p>
