예제 #1
0
        public void InitWithModel(SideBarItemModel model)
        {
            UIImage image = UIImage.FromFile (model.IconPath);
            _imageView.Image = image;

            _title.Text = model.Title;
        }
예제 #2
0
 void HandleRowSelectedEvent(SideBarItemModel selectedItem)
 {
     var handler = SideBarItemSelected;
     if (handler != null)
     {
         handler(selectedItem);
     }
 }
예제 #3
0
        void HandleSideBarItemSelected(SideBarItemModel selectedItem)
        {
            UIImage contentImg = UIImage.FromFile(selectedItem.IconPath);
            SetImage (contentImg);

            _sideBarMediator.ToggleSideBar();
        }