i using in app webview widget show google maps kml overlay on it. when call loadurl() function memory increases every time.
i have put code:
if(webview!=null){ webview.destroydrawingcache(); webview.stoploading(); webview.clearcache(true); webview.clearhistory(); webview.freememory(); webview.destroy(); webview = null; system.gc(); } to create new webview every time need it, nothing i've read , other responses no 1 gives answer.
any ideas?
thanks in advance.
Comments
Post a Comment