9
जब मैं ActionBarSherlockActionBarSherlock android.R.id.home <एपीआई 11
public boolean onOptionsItemSelected(MenuItem item)
{
switch (item.getItemId())
{
case android.R.id.home:
this.finish();
return true;
default:
return super.onOptionsItemSelected(item);
}
}
मैं देखा कि android.R.id.home एपीआई 11. से है हम यह सुनिश्चित android.R कैसे कर सकते हैं इस्तेमाल किया। id.home एपीआई 8 पर सही है?