Delete

public void deleteBarang(long id) {
    String strFilter = "_id=" + id;
    database.delete(DBHelper.TABLE_NAME, strFilter, null);
}

Last updated

Was this helpful?