Skip to content
  • Mugurell's avatar
    For #4007 - ShareFragment will set the contained Views' state · 16eba61b
    Mugurell authored
    ShareFragment which acts as a container would contain all business logic needed
    for populating it's Views.
    Data initialization should be done only once since the app state has no reason
    to change after the ShareFragment is created and is done as soon as possible,
    in onAttach().
    Because of the expected short lifespan of this fragment, given the fact that
    the state has no reason to change and we handle orientation changes ourselves
    to keep things simple I didn't use a ViewModel to persist the state.
    16eba61b