public Intent GetIntentWithTracking(Context context, Type typeToStart, IntentStartPoint startingPoint) { Intent intent = new Intent(context, typeToStart); intent.PutExtra(ActivityStartPoint, startingPoint.ToString()); return(intent); }
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); }