public void Delete(DownloadedItem downloaded_item) { Delete(downloaded_item.getDownloadedFile().getPath()); } // Delete
public static ContentValues getContentValues(DownloadedItem di) { ContentValues cv = new ContentValues(); // cv.put(COLUMN_DOWNLOADED_DATE, di.getDownloadedDate().getTime()); cv.put(COLUMN_DOWNLOADED_FILE, di.getDownloadedFile().getPath()); return cv; } // getContentValues