public override bool OnOptionsItemSelected(IMenuItem item) { switch (item.ItemId) { case Resource.Id.action_settings: StartActivity(new Intent(this, typeof(AppSettingsActivity))); return(true); case Resource.Id.action_sendlogs: LayerClient.SendLogs(GetLayerClient(), this); return(true); } return(base.OnOptionsItemSelected(item)); }
public override bool OnOptionsItemSelected(IMenuItem item) { switch (item.ItemId) { case Resource.Id.action_details: if (mConversation == null) { return(true); } Intent intent = new Intent(this, typeof(ConversationSettingsActivity)); intent.PutExtra(PushNotificationReceiver.LAYER_CONVERSATION_KEY, mConversation.Id); StartActivity(intent); return(true); case Resource.Id.action_sendlogs: LayerClient.SendLogs(GetLayerClient(), this); return(true); } return(base.OnOptionsItemSelected(item)); }