Hi Justin,
Yes, you are right. I went too fast in my reply. I did indeed make the
two calls and it did indeed work.
I was wanting to limit the number of resources needed in this activity -
where in my use of one unique ListView.
After this short discussion, I think I will try to use a single
>
> If I call tabhost.setCurrentTab(1) instead of tabhost.setCurrentTab(0),
> then the initial display is correct.
>
I think you misunderstood me... I wanted you to call both of them... First,
set the current tab to 1 and then to 0... Does the listview display
correctly on tab 0 if you do this?
Wow, I hadn't expected replies so quickly !
@MagouyaWare - To answer your question, the OnTabChangedListener code
rebuilds the listview content.
I have indeed stepped through this to ensure that it does this correctly
before the first display.
If I call tabhost.setCurrentTab(1) instead of tabho
Also, what does your OnTabChangedListener code do?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, Jun 20, 2012 at 9:46 AM, Justin Anderson wrote:
> Just out of curiosity, try doing this:
>
> *tabhost.setCurrentTab(1);
> tabhost.setCurrentTab(0);
>
Just out of curiosity, try doing this:
*tabhost.setCurrentTab(1);
tabhost.setCurrentTab(0);
*
Does your list show up at that point?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, Jun 20, 2012 at 9:41 AM, Simon Giddings wrote:
> I have a TabActivi
On Wed, Jun 20, 2012 at 11:41 AM, Simon Giddings
wrote:
> I have a TabActivity containing a series of four tabs and a listview.
> Each of the tabs reference the same listview.
I have no idea if this is supported.
> What is the solution ?
Try using separate ListViews, one per tab.
--
Mark Murp
I have a TabActivity containing a series of four tabs and a listview.
Each of the tabs reference the same listview.
When the activity is initially displayed, the listview is not displayed.
However, clicking on another tab will display it correctly and clicking
back on the first tab will also displ
7 matches
Mail list logo