AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
dDbHelper.deletedJournal(info.id);
mDbHelper.deleteJournal(info.id);
public boolean deletedJournal(long homeId){
return mDb.delete(DATABASE_TABLE, KEY_HOMEID + "=" + homeId, null )>0;
}
dDbHelper.deletedJournal(info.id)
gives me a null pointer exception