Ejemplo n.º 1
0
        public ItemDetailPage(ItemDetailViewModel viewModel)
        {
            InitializeComponent();

            BindingContext = this.viewModel = viewModel;
            DynamicGrid dynamicGrid = new DynamicGrid(this.picGrid, viewModel.ImageRows, Settings.ImagesPerRow);

            dynamicGrid.InitImageGrid(false, null, viewModel.PicPaths.ToArray(), Navigation);
        }
Ejemplo n.º 2
0
 void InitImageControls()
 {
     dynamicGrid = new DynamicGrid(this.picGrid, viewModel.ImageRows, Settings.ImagesPerRow);
     listButton  = dynamicGrid.InitImageGrid(true, remove_click, viewModel.PicPaths.ToArray(), Navigation);
 }