Package com.xffffff.wellfed.mealplan
Class MealPlanContract
- java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MealPlanContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.content.Intent
createIntent(android.content.Context context, MealPlan mealPlan)
The createIntent method creates the intent to launch the meal plan activity.android.util.Pair<java.lang.String,MealPlan>
parseResult(int i, android.content.Intent intent)
The parseResult method parses the result from the meal plan activity.
-
-
-
Method Detail
-
createIntent
@NonNull public android.content.Intent createIntent(@NonNull android.content.Context context, MealPlan mealPlan)
The createIntent method creates the intent to launch the meal plan activity. It passes the meal plan to the activity.
-
parseResult
public android.util.Pair<java.lang.String,MealPlan> parseResult(int i, @Nullable android.content.Intent intent)
The parseResult method parses the result from the meal plan activity. It returns the type of result and the meal plan.
-
-