Huan Nguyen, Great article, thanks,
MeHdi KaZemI

Hi MeHdi,

You can do that by `Controller.setRetainViewMode(RetainViewMode.RETAIN_DETACH)`. But bear in mind that the view wouldn’t survive config changes. i.e., it will be destroyed after device is rotated.

Like what you read? Give Huan Nguyen a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.