I've been trying to implement a "facebook" menu(you press a button on the top left corner and the menu slides in from the left) which requires me to override onOptionsItemSelected. This works just fine when I override the method of Activity and FragmentActivity, but if I do it on SherlockFragmentActivity nothing happens.
@Override
public boolean onOptionsItemSelected(MenuItem item)
{
int id = item.getItemId();
if (id == android.R.id.home) {
rbmView.toggleMenu();
return true;
}else {
return super.onOptionsItemSelected(item);
}
}
Is this even possible using the SherlockActionBar without using functionality?