Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (32 sloc) 1.141 kb
using Cirrious.Conference.UI.Touch.Interfaces;
using Cirrious.Conference.UI.Touch.Views;
using Cirrious.MvvmCross.Touch.Views.Presenters;
using MonoTouch.UIKit;
namespace Cirrious.Conference.UI.Touch
{
public class ConferencePresenter
: MvxModalSupportTouchViewPresenter
, ITabBarPresenterHost
{
public ConferencePresenter(UIApplicationDelegate applicationDelegate, UIWindow window)
: base(applicationDelegate, window)
{
}
protected override UINavigationController CreateNavigationController(UIViewController viewController)
{
var toReturn = base.CreateNavigationController(viewController);
toReturn.NavigationBarHidden = true;
return toReturn;
}
public ITabBarPresenter TabBarPresenter { get; set; }
public override void Show(MvvmCross.Touch.Interfaces.IMvxTouchView view)
{
if (TabBarPresenter != null && view != TabBarPresenter)
{
TabBarPresenter.ShowView(view);
return;
}
base.Show(view);
}
}
}
Jump to Line
Something went wrong with that request. Please try again.