Code example for Fragment

Methods: getActivityonStartstartActivity