Tasks/src/main/java/com/dummies/tasks/provider/TaskProvider.java
@Override
    public int delete(Uri uri, String ignored1, String[] ignored2) {
        // TODO delete from google play

        int count = db.delete(DATABASE_TABLE,
                COLUMN_TASKID + "=?",
                new String[]{Long.toString(ContentUris.parseId(uri))});
        if (count > 0)
            getContext().getContentResolver().notifyChange(uri, null);
        return count;
    }
/**
     * This method is called when someone wants to delete something
     * from our content provider.
     */
This method is called when someone wants to delete something
from our content provider.
This method is called when someone wants to delete something from our content provider .
@Override
    public int delete(Uri uri, String ignored1, String[] ignored2) {
        int count = db.delete(DATABASE_TABLE,
                COLUMN_TASKID + "=?",
                new String[]{Long.toString(ContentUris.parseId(uri))});
        if (count > 0)
            getContext().getContentResolver().notifyChange(uri, null);
        return count;
    }
@ Override public int delete ( Uri uri , String ignored1 , String [ ] ignored2 ) { int count = db . delete ( DATABASE_TABLE , COLUMN_TASKID + "=?" , new String [ ] { Long . toString ( ContentUris . parseId ( uri ) ) } ) ; if ( count > 0 ) getContext ( ) . getContentResolver ( ) . notifyChange ( uri , null ) ; return count ; }
This method is called when someone wants to delete something
 from our content provider.
This method is called when someone wants to delete something from our content provider .
// TODO delete from google play