|
|
@ -155,6 +155,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|
|
|
private AdapterNavMenu adapterNavMenu;
|
|
|
|
private AdapterNavMenu adapterNavMenu;
|
|
|
|
private AdapterNavMenu adapterNavMenuExtra;
|
|
|
|
private AdapterNavMenu adapterNavMenuExtra;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private boolean initialized = false;
|
|
|
|
private boolean exit = false;
|
|
|
|
private boolean exit = false;
|
|
|
|
private boolean searching = false;
|
|
|
|
private boolean searching = false;
|
|
|
|
private int lastBackStackCount = 0;
|
|
|
|
private int lastBackStackCount = 0;
|
|
|
@ -781,6 +782,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|
|
|
|
|
|
|
|
|
|
|
if ("inbox".equals(startup)) {
|
|
|
|
if ("inbox".equals(startup)) {
|
|
|
|
new SimpleTask<EntityFolder>() {
|
|
|
|
new SimpleTask<EntityFolder>() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
protected void onPreExecute(Bundle args) {
|
|
|
|
|
|
|
|
initialized = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected EntityFolder onExecute(Context context, Bundle args) throws Throwable {
|
|
|
|
protected EntityFolder onExecute(Context context, Bundle args) throws Throwable {
|
|
|
|
DB db = DB.getInstance(context);
|
|
|
|
DB db = DB.getInstance(context);
|
|
|
@ -797,6 +803,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fragment.setArguments(args);
|
|
|
|
fragment.setArguments(args);
|
|
|
|
setFragment(fragment);
|
|
|
|
setFragment(fragment);
|
|
|
|
|
|
|
|
checkIntent();
|
|
|
|
|
|
|
|
initialized = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -1158,7 +1166,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|
|
|
|
|
|
|
|
|
|
|
checkUpdate(false);
|
|
|
|
checkUpdate(false);
|
|
|
|
checkAnnouncements(false);
|
|
|
|
checkAnnouncements(false);
|
|
|
|
checkIntent();
|
|
|
|
if (initialized || !"inbox".equals(startup))
|
|
|
|
|
|
|
|
checkIntent();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|