kioba
05/14/2018, 9:47 AM@Nullable
annotation on the getActivity()
and getContext()
in the android SDK 27 changes ? Personally I’m not keen to spread the nullable context all around the app.gildor
05/14/2018, 10:06 AMrequreActivity()
can be used as easiest solution, equivalent to getActivity()!!
, but in many cases you actually can check for null activity and do not crash and just do nothingarekolek
05/14/2018, 10:17 AM