protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); AuthenticationActivity authenticationActivity = UIHelper.GetUpperActivity <AuthenticationActivity>(this, bundle); if (authenticationActivity != null) { _model = authenticationActivity.CityModel; } SetContentView(Resource.Layout.RegistrationLayout); 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(); }