Example #1
0
        public ScrollViewImagePage(string title, ListViewPageConfiguration configuration)
        {
            MutableImageList = new MutableImageList();
            Configuration    = configuration;
            InitializeComponent();
            Title = title;

            Appearing          += OnAppearing;
            Disappearing       += OnDisappearing;
            __MyButton.Clicked += MyButtonOnClicked;
            MutableElementManager.Instance.GetMutablePage(this).PageUnmuting += OnPageUnmuting;
        }
Example #2
0
 private void Load()
 {
     __MyStack.Children.Clear();
     for (var i = 0; i < Configuration.Repetitions; i++)
     {
         var image = new MutableImage
         {
             WidthRequest  = Configuration.RowHeight,
             HeightRequest = Configuration.RowHeight,
             Source        = Configuration.NewImageSource()
         };
         MutableImageList.Add(image);
         //image.PropertyChanged += ImageOnPropertyChanged;
         __MyStack.Children.Add(image);
     }
 }
Example #3
0
 private void MyButtonOnClicked(object sender, EventArgs eventArgs)
 {
     MutableImageList.Mute();
 }