Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Webview disassepar after scrolling pages in a ScrollableView

$
0
0

I am developing an application using SDK 3.2.2 and Alloy Framework for Android , i have a scrollableView, each view of the scrollableView is structured like the following :

<view id='currentScrollableView'>
    <ScrollView id="scrollView" layout="vertical" scrollType = "vertical">
        <ImageView top="0" id="imageOffre"/>
        <WebView top="5" id="detailsWebView" width='100%' enableZoomControls="false" onLoad="loadWebView" backgroundColor="green" />
    /ScrollView>
</view>
Starting from the first view , when i scroll three pages forward and then comme back to the first page ,the webview disappear. but the ImageView is kept .

I tried to reload the webview using the event (ScrollEnd) of the ScrollableView and as you can see in the code above, i added a green background to the webview to see if it appear without content. As a result the webview didn't show up but when i try to log the (html) property of the webview i do get the html correctly ! .

in a previous post the same problem is reported , it mentioned that the problem was fixed by an update pf the Titanium SDK (2.1.0.GA) i am using the (3.2.2.GA) and stil have this problem.

Any idea ?

Application Type : Mobile | Titanium SDK version 3.2.2.GA | Platforms : Android 4.3 / 4.4 | Device : Android Device / Android Emulator | Host Operating System: OSX 10.9.2 | Titanium Studio, build: 3.2.1.201402041146


Viewing all articles
Browse latest Browse all 7655

Trending Articles