Beispiel #1
0
        protected override void OnAppearing()
        {
            base.OnAppearing();
            BaseCellView?.OnAppearing();

            _appearances++;
            if (View.Width < 0 || View.Height < 0)
            {
                Device.StartTimer(TimeSpan.FromMilliseconds(200), () =>
                {
                    if (View.Width < 0 || View.Height < 0)
                    {
                        System.Diagnostics.Debug.WriteLine("Cell.OnAppearing _appearances=[" + (_appearances) + "] BindingContext[" + BindingContext + "] View.IsVisible[" + View.IsVisible + "] View.Opacity[" + View.Opacity + "] View.Bounds[" + View.Bounds + "]");
                        View.IsVisible = !View.IsVisible;
                        return(true);
                    }
                    View.IsVisible = true;
                    return(false);
                });
            }
        }
Beispiel #2
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     BaseCellView?.OnAppearing();
 }