https://kotlinlang.org logo
c

carlw

11/07/2018, 8:03 PM
Views are singleton so you can make a shared controller or viewmodel available to get data supporting the screen. Fragments are prototype scope so as soon as you're finished, they go away. There are a lot of samples that inject Fragments into a singleton View so they seem singleton-ish themselves.