Friday, June 8, 2012

Re: [android-developers] TabHost Problem

Yes, I did check,

On Wed, Jun 6, 2012 at 8:40 PM, Justin Anderson <magouyaware@gmail.com> wrote:
Have you verified that? Have you tried debugging your code to make sure that you are refreshing properly?


Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Jun 6, 2012 at 12:12 AM, naseem Rafique <naseem.rafiq@gmail.com> wrote:
Hi Justin,

Thanks for sparing some time. 
I do refresh all memory objects infect first I nullify them and re populate from server.




On Tue, Jun 5, 2012 at 7:35 PM, Justin Anderson <magouyaware@gmail.com> wrote:
The problem is most likely in your Profile class...  You need to refresh it when you log in.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Jun 5, 2012 at 7:21 AM, naseem Rafique <naseem.rafiq@gmail.com> wrote:
Hi folks,

I am working on an app in which I need to show three Tabs, on Logout I want to show remove these abs and on login I want to show these tabs with new user's data who just logged in. 
For this I used 

On Logout:

            this.tabHost.clearAllTabs();

On Login:

           intent = new Intent(this, Profile.class);
   spec = mTabHost.newTabSpec("Profile").setIndicator("Profile",res.getDrawable(R.drawable.ic_launcher)).setContent(intent);
   mTabHost.addTab(spec);

But it doesn't show my contents of new user, but show old contents. 

Any one, any thoughts.

Thanks,
Sam.

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

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

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

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

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate