package com.example.profbola.bakingtime.utils;

import android.content.Context;

/**
 * Created by prof.BOLA on 7/6/2017.
 */

public class RecipeUtils {

    public static int getResourceIdFromName(Context context, String name) {
        return context.getResources().getIdentifier(name, "drawable", context.getPackageName());
    }

    public static CharSequence formatServings(int servings) {
        return String.format("Served: %d", servings);
    }
}

@@ -69,17 +69,169 @@
 nt.Conte
-x
+ntValues;%0Aimport android.content.Context;%0Aimport android.database.Cursor;%0Aimport android.os.Parcelable;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Lis
 t;%0A%0A/**%0A
@@ -601,11 +601,105 @@
 );%0A    %7D
+%0A%0A    public interface IsPersistable%3CT%3E %7B%0A%0A        List%3CT%3E consumeCusor(Cursor cursor);%0A%0A    %7D
 %0A%7D%0A

Add IsPersitable interface