public override bool OnCreateOptionsMenu(IMenu menu)
        {
            MenuInflater.Inflate(Resource.Menu.main_menu_share, menu);

            var shareItem = menu.FindItem(Resource.Id.action_share);
            var test = MenuItemCompat.GetActionProvider(shareItem);
            actionProvider = test.JavaCast<Android.Support.V7.Widget.ShareActionProvider>();

            var intent = new Intent(Intent.ActionSend);
            intent.SetType("text/plain");
            intent.PutExtra(Intent.ExtraText, "ActionBarCompat is Awesome! Support Lib v7 #Xamarin");

            actionProvider.SetShareIntent(intent);


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

      var shareItem = menu.FindItem(Resource.Id.action_share);
      var test = MenuItemCompat.GetActionProvider(shareItem);
      actionProvider = test.JavaCast<Android.Support.V7.Widget.ShareActionProvider>();
      if (state.SetDefault)
        shareItem.SetVisible(false);

      var intent = new Intent(Intent.ActionSend);
      intent.SetType("text/plain");
      intent.PutExtra(Intent.ExtraText, "#PuppyKittyOverflow Adorable Animals: " + (state.SetDefault ? string.Empty : state.Image));

      actionProvider.SetShareIntent(intent);


      return base.OnCreateOptionsMenu(menu);
    }