Code example for ListFragment

Methods: setListAdapter, getActivity, getArguments, onActivityCreated

0
    	}*/ 
    } 
	 
	@Override 
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		Bundle args = getArguments();
		 
	    adapter = new logArrayAdapter(getActivity());
	    setListAdapter(adapter);
	    /* 
	    if(args.getBoolean("alreadySent")){ 
	    	setLogs(logs); 
		}*/ 
		/*fadeSwitch = (Switch) rootView.findViewById(R.id.swFade); 
		fadeSwitch.setChecked(args.getBoolean("fade")); 
		fadeSwitch.setOnCheckedChangeListener(fadeListener); 
		*/ 
	} 
} 
Experience pair programming with AI  Get Codota for Java