with targetSdk 27 the `@Nullable` of `getActivity(...
# android
j
with targetSdk 27 the
@Nullable
of
getActivity()
is now enforced when compiling. In your opinion what is the best practice for when the
activity
must not be null ? Yelling
activity!!
?
activity ?: throw NullPointerException()
? Something else?