Nice solution — it doesn’t handle correctly orientation change or recreation from the back stack.
Noa Drach
22

Hey, thanks! :)

Like what you read? Give Raymond Chan a round of applause.

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