public void Inflate(Activity activity, IMenu menu)
 {
     if (!activity.IsAlive() || !menu.IsAlive())
         return;
     IBindingMemberInfo bindingMember = BindingServiceProvider
         .MemberProvider
         .GetBindingMember(typeof(OptionsMenu), AttachedMembers.Toolbar.MenuTemplate, false, true);
     var value = (int?)bindingMember.GetValue(this, null);
     if (value == null)
         return;
     activity.MenuInflater.Inflate(value.Value, menu, this);
     if (_bindings != null)
     {
         foreach (string binding in _bindings)
             BindingServiceProvider.BindingProvider.CreateBindingsFromString(menu, binding, null);
     }
 }