Hello again.
I forgot to add the reload/reset method in the ReloadView method.
((TabBarController)_tabbarController).ResetTabs();
What it does? It recreates the tabs and its content.
Like this:
private void ReloadView()
{
InvokeOnMainThread(delegate {
//Flip the view
UIView.BeginAnimations("Flipper");
UIView.SetAnimationDuration(1.25);
UIView.SetAnimationCurve(UIViewAnimationCurve.EaseInOut);
UIView.SetAnimationTransition
(UIViewAnimationTransition.FlipFromRight, _tabbarController.View ,
true);
_tabbarController.ViewWillDisappear(true);
_tabbarController.ViewWillAppear(true);
UIView.CommitAnimations();
((TabBarController)_tabbarController).ResetTabs();
});
}
br
Göran
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch