Closed samishal1998 closed 5 years ago
you just need to add the null-safe operator to the casting "?"
kotlin.TypeCastException: null cannot be cast to non-null type vn.tungdx.mediapicker.widget.PickerImageView at vn.tungdx.mediapicker.MediaAdapter.onMovedToScrapHeap(MediaAdapter.kt:207)
Thank you very much. I will update it.
you just need to add the null-safe operator to the casting "?"