Code example for ActionBarActivity

Methods: onResume

0
		drawDirections(); 
	} 
 
	@Override 
	protected void onResume() { 
		super.onResume(); 
		setUpMapIfNeeded(); 
	} 
 
	@Override 
	public boolean onOptionsItemSelected(MenuItem item) {
		switch (item.getItemId()) {
		case android.R.id.home:
			onBackPressed(); 
			return true; 
		default: 
			return super.onOptionsItemSelected(item);
		} 
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE