Closed Morteza-Rastgoo closed 5 years ago
Hi @Morteza-Rastgoo !
Sorry for the late response!
Yes, indeed, there was a mistake in the README; will correct it shortly.
Regarding your problem, the bottomSheet
variable is nullable, which means that in order for you to be able to operate on it you need to perform a null check first (-> bottomSheet?.show()
).
Trying to implement the example in the readme,
But the error appears:
Smart cast to 'ActionPickerBottomSheet' is impossible, because 'bottomSheet' is a mutable property that could have been changed by this time