@Override protected void onPerformAction() { super.onPerformAction(); mAdapter.mProvider.removeItem(mPosition); mAdapter.notifyItemRemoved(mPosition); }
@Override protected void onPerformAction() { super.onPerformAction(); AbstractDataProvider.Data item = mAdapter.mProvider.getItem(mPosition); if (item.isPinned()) { item.setPinned(false); mAdapter.notifyItemChanged(mPosition); } }