Пример #1
0
        public Intent GetIntentWithTracking(Context context, Type typeToStart, IntentStartPoint startingPoint)
        {
            Intent intent = new Intent(context, typeToStart);

            intent.PutExtra(ActivityStartPoint, startingPoint.ToString());
            return(intent);
        }
Пример #2
0
        public void StartIntentWithTracker(Context context, IntentStartPoint startingPoint, Type intentToStart, Intent intent = null)
        {
            if (intent == null)
            {
                intent = GetIntentWithTracking(context, intentToStart, startingPoint);
            }
            else
            {
                intent.PutExtra(ActivityStartPoint, startingPoint.ToString());
            }

            context.StartActivity(intent);
        }