protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _connectionProgressDialogDecorator = new ProgressDialogDecorator(this, Resources.GetString(Resource.String.ConnectingToServerTitle), Resources.GetString(Resource.String.ConnectingToServerMessage)); RequestWindowFeature(WindowFeatures.ActionBar); SetContentView(Resource.Layout.MainLayout); HookModel(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _loadProgressDialogDecorator = new ProgressDialogDecorator(this, Resources.GetString(Resource.String.LoadTitle), Resources.GetString(Resource.String.LoadDataMessage)); AuthenticationActivity authenticationActivity = UIHelper.GetUpperActivity <AuthenticationActivity>(this, bundle); if (authenticationActivity != null) { _model = authenticationActivity.ActiveDriverProfileModel; } SetContentView(Resource.Layout.DriverProfileLayout); HookModel(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _loadProgressDialogDecorator = new ProgressDialogDecorator(this, Resources.GetString(Resource.String.LoadTitle), Resources.GetString(Resource.String.LoadDataMessage)); AuthenticationActivity authenticationActivity = UIHelper.GetUpperActivity <AuthenticationActivity>(this, bundle); if (authenticationActivity != null) { _model = authenticationActivity.ActivePedestrianProfileModel; } SetContentView(Resource.Layout.PedestrianProfileLayout); _notificationManager = (NotificationManager)GetSystemService(Application.NotificationService); HookModel(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _authorizationProgressDialogDecorator = new ProgressDialogDecorator(this, Resources.GetString(Resource.String.AuthorizingTitle), Resources.GetString(Resource.String.AuthorizingMessage)); MainActivity mainActiviy = UIHelper.GetUpperActivity <MainActivity>(this, bundle); if (mainActiviy != null) { _interactionModel = mainActiviy.Model; if (_interactionModel != null) { _cityModel = _interactionModel.CurrentCity; } } SetContentView(Resource.Layout.AuthenticationLayout); //HookModel(); }