package com.example.android.pets;

import android.content.Context;
import android.database.Cursor;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CursorAdapter;

/**
 * Created by Usuario on 31/05/2017.
 */

public class PetCursorAdapter extends CursorAdapter {
    public PetCursorAdapter(Context context, Cursor c) {
        super(context, c);
    }

    @Override
    public View newView(Context context, Cursor cursor, ViewGroup viewGroup) {
        return null;
    }

    @Override
    public void bindView(View view, Context context, Cursor cursor) {

    }
}

@@ -198,47 +198,232 @@
 %0A * 
-Created by Usuario on 31/05/2017
+%7B@link PetCursorAdapter%7D is an adapter for a list or grid view%0A * that uses a %7B@link Cursor%7D of pet data as its data source. This adapter knows%0A * how to create list items for each row of pet data in the %7B@link Cursor%7D
 .%0A */%0A
-%0A
 publ
@@ -476,219 +476,1369 @@
 r %7B%0A
-    public PetCursorAdapter(Context context, Cursor c) %7B%0A        super(context, c);%0A    %7D%0A%0A    @Override%0A    public View newView(Context context, Cursor cursor, ViewGroup viewGroup) %7B%0A        return null;%0A    %7D%0A
+%0A    /**%0A     * Constructs a new %7B@link PetCursorAdapter%7D.%0A     *%0A     * @param context The context%0A     * @param c       The cursor from which to get the data.%0A     */%0A    public PetCursorAdapter(Context context, Cursor c) %7B%0A        super(context, c, 0 /* flags */);%0A    %7D%0A%0A    /**%0A     * Makes a new blank list item view. No data is set (or bound) to the views yet.%0A     *%0A     * @param context app context%0A     * @param cursor  The cursor from which to get the data. The cursor is already%0A     *                moved to the correct position.%0A     * @param parent  The parent to which the new view is attached to%0A     * @return the newly created list item view.%0A     */%0A    @Override%0A    public View newView(Context context, Cursor cursor, ViewGroup parent) %7B%0A        // TODO: Fill out this method and return the list item view (instead of null)%0A        return null;%0A    %7D%0A%0A    /**%0A     * This method binds the pet data (in the current row pointed to by cursor) to the given%0A     * list item layout. For example, the name for the current pet can be set on the name TextView%0A     * in the list item layout.%0A     *%0A     * @param view    Existing view, returned earlier by newView() method%0A     * @param context app context%0A     * @param cursor  The cursor from which to get the data. The cursor is already moved to the%0A     *                correct row.%0A     */
 %0A   
@@ -1922,13 +1922,50 @@
 ) %7B%0A
+        // TODO: Fill out this method
 %0A    %7D%0A%7D
 %0A
@@ -1963,9 +1963,8 @@
 %0A    %7D%0A%7D
-%0A

copy paste del gist de Udacity tal y como me guía la lección