https://kotlinlang.org logo
#android
Title
# android
m

minivac

09/12/2016, 8:11 AM
The view may be recreated but the only thing that lazy closure is capturing is the Fragment instance (assuming you do
getView().findViewById(…)
), that, as you said, is the same when recreating the view. I think that code perfectly safe.