jordan29.04.1197
07/20/2017, 9:12 AMval dialogAvatarSource = DialogAvatarSource(this)
dialogAvatarSource.onAvatarSourceChosenListener = object : DialogAvatarSource.OnAvatarSourceChosenListener {
override fun onCameraClick() {
}
override fun onGalleryClick() {
}
}
dialogAvatarSource.show()
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter savedInstanceState on dialogAvatarSource.show()menegatti
07/20/2017, 9:13 AMmenegatti
07/20/2017, 9:14 AMsavedInstanceState
as non-null and when the code reached dialogAvatarSource.show()
, savedInstanceState
is nulljordan29.04.1197
07/20/2017, 9:15 AM