I'm quoting Google's documentation:
All subclasses of Fragment must include a public empty constructor. The framework will often re-instantiate a fragment class when needed, in particular during state restore, and needs to be able to find this constructor to instantiate it.
What happens if a Fragment needs parameters? Say I created an instance of the fragment using a non-parameterless c'tor and then added the fragment to an Activity. How would Android know what to upon state restoration? Or am I supposed to manually take care of it (which I probably can't if the parameter was for instance a complex view model)?