Beispiel #1
0
 void OnClick(NavBarAdapterClickEventArgs args)
 {
     if (items[args.Position].fragment != null)
     {
         FragmentTransaction transaction = c.FragmentManager.BeginTransaction();
         transaction.Replace(Resource.Id.fragmentContainer, FragmentHome.Get());
         transaction.Commit();
         c.Drawer.CloseDrawers();
     }
 }
Beispiel #2
0
 void OnLongClick(NavBarAdapterClickEventArgs args) => ItemLongClick?.Invoke(this, args);