Code example for Fragment

Methods: getArgumentsonCreatesetHasOptionsMenu

	List<CharSequence>  probeList;
    public void onCreate(Bundle savedInstanceState) {
         * The controller URI will be in the intent plus, depending on the situation 
         * the probe name to graph can be in the extra.  If default, the probe name 
         * will come in as "none" which will signal us to just graph the first one 
         * found. 
        final Intent intent = BaseActivity.fragmentArgumentsToIntent(getArguments());
        controllerUri = intent.getData();
        probeName = intent.getExtras().getString("ProbeName");
        if (controllerUri== null) {
        controllerId = Integer.valueOf(Controllers.getControllerId(controllerUri));
        probesUri = Probes.buildQueryProbesUri(controllerUri);
    public void onActivityCreated(Bundle savedInstanceState) {
Contextual code suggestions in your IDE  Get Codota for Java