add null check for itemListAdapter in onResume