@Override
public void onStart() {
super.onStart();
if(bundle != null){
if(!bundle.containsKey(Constants.EXTRA_RECIPE_KEY) && !bundle.containsKey(Constants.EXTRA_RECIPE_CREATOR_ID)){
Log.i(TAG, "onStart: bundle does not contain the recipe key and recipe creator id.");
}else{
String RECIPE_CREATOR_ID = bundle.getString(Constants.EXTRA_RECIPE_CREATOR_ID);
String RECIPE_KEY = bundle.getString(Constants.EXTRA_RECIPE_KEY);
mRecipeKey = RECIPE_KEY;
mRecipeCreatorId = RECIPE_CREATOR_ID;
Log.i(TAG, "RecieveRecipeCreatorId: Creator Key = " + mRecipeCreatorId);
Log.i(TAG, "RecieveRecipeKey: Recipe Key = " + mRecipeKey);
SetDetailsForIncomingRecipe();
}
}else{
Log.i(TAG, "onStart: bundle is null");
}
}