I am trying to implement swipe to delete in RecyclerView. Everything seems to be working fine except drawing a delete icon below the item that\'s being swiped.
Thi
Answer is check if bitmap is null or reycled() before passing it to ImageView.
if(resource!==null && !resource.isRecycled) imageView.setImageBitmap(resource)