I am use ListView and each cell is WebView. So, I see that I must place
WebView.loadURL directly in GetView! And it is calling every time when I
scrolling! So how can I cache WebView to call LoadURL only one time? Or may
be I would be save Inflated view in array and return in GetView only view
Thanks for the reply guys. At the end I ditched the listview and
replaced with a webview. So now instead of using a listview with
numerous webviews, I have one webview with bunch of DIVs rendering the
individual contents. That works our well.
--
You received this message because you are
Yup. Just don't do it. You can parse HTML into a TextView using
Html.fromHtml(String string) if you are loading data from HTML
content, or use a RelativeLayout to layout a bunch of Text/ImageViews
etc.
On Jul 23, 6:36 am, Kumar Bibek coomar@gmail.com wrote:
WebViews are pretty heavy
If those html pages you want to display contain JavaScript, you might
want to use one webview and then iFrames, which would give you the
same effect without overloading the system with multiple instances of
webview. Kind of web-appy, but if that's the effect you're looking
for, this method might
WebViews are pretty heavy components. I don't see a situation where a
WebView cannot be replaced by a text view or a combination of other
compoenents. I still think this is a bad idea. I am sure, you wouldn't
be running scripts inside those web view items in your list, or do
you?
Thanks and
5 matches
Mail list logo