Beispiel #1
0
        public MasterDetailsPageMaster()
        {
            InitializeComponent();

            BindingContext = new MasterDetailsPageMasterViewModel();
            ListView       = MenuItemsListView;
        }
 public MasterDetailsPageMaster()
 {
     InitializeComponent();
     Icon           = "menu.png";
     BindingContext = new MasterDetailsPageMasterViewModel();
     ListView       = MenuItemsListView;
     if (AppData.UserId == "")
     {
         ulogin.IsVisible = true;
     }
     UserName.Text = AppData.UserName;
     if (AppData.UserName == "")
     {
         uRegister.IsVisible = true;
     }
     Avatar.Source = AppData.Avatar;
 }