OnOptionsItemSelected not called

Hi guy's

My problem is OnOptionsItemSelected doesn't work and , this is my simple code

public override bool OnCreateOptionsMenu(IMenu menu) { MenuInflater.Inflate(Resource.Menu.AdditionalMenu,menu); return base.OnCreateOptionsMenu(menu); }

public override bool OnOptionsItemSelected(IMenuItem item) { switch (item.ItemId) { case Resource.Id.action_addsub: Toast.MakeText(this, "clicked", ToastLength.Long).Show(); return true; } return base.OnOptionsItemSelected(item); }

anyone can help ?

Answers

Sign In or Register to comment.