Code example for Fragment

Methods: onSaveInstanceState