When the activity state is saved (after onSaveInstanceState()), we
can't update the UI until the activity is restarted or restored; that
means any UI changes we make, like switching tabs, must deal with this
by allowing those changes to be ignored, using commitAllowingStateLoss
instead of commit.
Signed-off-by: Keith Packard <keithp@keithp.com>
ft.show(this);
} else
ft.hide(this);
- ft.commit();
+ ft.commitAllowingStateLoss();
}
public void update_ui(AltosState state, AltosGreatCircle from_receiver, Location receiver, boolean is_current) {