12-28-2012 08:10 AM
Hi,
I am trying to develop an application for BB10 using BBUI version 0.9.5. I am implemented two pages Which is dynamically loaded. The first page contains a list which is loaded dynamically (from xml). I am tap on the list it loaded another page.
Which have Action bar and back button. I tap on that button It shows the page one but unfortunatly it doesnot show the list.
Please help
Thanks
Deepu
12-28-2012 08:58 AM
could you post some code? Hard to help you if we can't see how your doing things... index.html and the first page would be a good start.
12-28-2012 09:45 AM
/////First screen
<div data-bb-type="screen" data-bb-effect="fade" data-bb-scroll-effect="off">
<!--<div data-bb-type="title" style="background-image:url(images/topBar.png);"> </div>-->
<div data-bb-scroll-effect="off" style="position:fixed; z-index:100;"> <img src="images/topBar.png" width="768" height="123" /></div>
<div id="newstitle" style="padding-top:140px;position:fixed; z-index:50;"></div>
<!--************************************List******
<div data-bb-type="activity-indicator" data-bb-size="large" id="loadingIndecator"></div>
<div id="mainlist" style="padding-top:200px;">
/// Dyanamically populate list her
</div>
<div data-bb-type="action-bar">
//Action bar components which gives urls when user clicked
</div>
//// Second screen
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<div data-bb-type="screen" data-bb-effect="fade" data-bb-scroll-effect="off">
<!--<div data-bb-type="title" style="background-image:url(images/topBar.png);"> </div>-->
<div data-bb-scroll-effect="off" style="position:fixed; z-index:100;"> <img src="images/topBar.png" width="768" height="123" /></div>
<div data-bb-type="action-bar" data-bb-back-caption="Back" ></div>
</div>
////
Please help me
12-28-2012 09:57 AM
the HTML doesn't matter so much, show us where are you populating the list.
probably you are doing it when your app starts, but you need to call that function everytime the screen loads, either on the ondomready or on the onscreenready calls of bbUI.