android - Action Bar with Login Page- already created tabs are shown -


i have created application using actionbar. have used login page in have getting username , password user , have created actionbar tabs. in application have hided action bar before loading login page, after loading login page have shown action bar. till working fine. after logoff login page shown. in time have hided action bar. if login second time, created tabs showing newly created tabs. if created 4 tabs means in second time of login 8 tabs shown.

then when re-login have check if there tabs existing don't want have.

try implement like:

if (tabcount > 0) {      //remove tabs }  //build tabs 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -