Code example for Fragment

Methods: getActivitystartActivity

0
 
	private class StartButtonOnClickListener implements OnClickListener {
 
		@Override 
		public void onClick(View v) {
			Intent i = new Intent(getActivity(), SampleActivity.class);
			startActivity(i);
		} 
 
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE