public void notifyDataSetInvalidated() { if (parentAdapter != null) { parentAdapter.notifyDataSetInvalidated(); } }