Beispiel #1
0
        public static void StartActivity(Context context, int plateId, global::Android.Net.Uri imageUri)
        {
            Intent intent = new Intent(context, typeof(CountActivity));

            intent.PutExtra("plateId", plateId);
            intent.PutExtra("imageUri", imageUri.ToString());
            context.StartActivity(intent);
        }
Beispiel #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            plateId  = Intent.GetIntExtra("plateId", -1);
            imageUri = Uri.Parse(Intent.GetStringExtra("imageUri"));

            SetContentView(Resource.Layout.activity_count);

            //toolbarViewGroup = (ViewGroup)FindViewById(Resource.Id.toolbar);
            countView = (CountView)FindViewById(Resource.Id.countView);

            ccContext = AppAndroid.CCContext;
            countView.SetContext(ccContext);

            //toolbar = new Toolbar(this.BaseContext, ccContext, toolbarViewGroup);

            //toolbar.SetupCountToolbar();
        }