I am using loadUrl() to get the WebView to load a large image. I need
to know when the image is completely loaded.

I tried creating a WebViewClient and onPageFinished() however this
seems to be called pretty much straight away and couple of time too.
This doesn't make any sense to me.


The javadocs says "Notify the host application that a page has
finished loading. This method is called only for main frame. When
onPageFinished() is called, the rendering picture may not be updated
yet. To get the notification for the new Picture, use onNewPicture
(WebView, Picture)."

So I tried creating a PictureListener with onNewPicture() but that is
called couple of times too and not when the image is fully loaded.

How can I go about this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to