Webview in android-flip not work -


i use lib use flip view webview: https://github.com/openaphid/android-flip

here code in adapter:

public view getview(int position, view convertview, viewgroup parent) {             webview mweb = null;             if (convertview == null) {                 mweb = new webview(parent.getcontext());                 string mcustomhtml = "<h1>test 0</h1></br>";                 (int = 1; < 20; i++) {                     mcustomhtml += "<h1>test " + string.valueof(i)                             + "</h1></br>";                 }                 mweb.loaddata(mcustomhtml, "text/html; charset=utf-8", null);             } else {                 mweb = (webview) convertview;                 mweb.scrollto(0, position * 200);             }             return mweb;         } 

but it's not work correctly, first 3 flip, webview still scroll @ 0 position , view sometime blink!

any idea? thank you!


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -