public async Task GitHub8269() { var collectionView = new CollectionView { ItemsSource = null, IsGrouped = true }; await TestingPlatform.CreateRenderer(collectionView); }
public async Task Bugzilla35738() { var customButton = new TestClasses.CustomButton() { Text = "This is a custom button", TextColor = Color.Fuchsia }; await TestingPlatform.CreateRenderer(customButton); }
public void GitHub9431(Func<VisualElement> createVisualElement) { var color1 = Color.Linen; var color2 = Color.HotPink; var model = new _9431Model() { BGColor = color1 }; for (int m = 0; m < 3; m++) { var visualElement = createVisualElement(); visualElement.SetBinding(VisualElement.BackgroundColorProperty, new Binding("BGColor")); visualElement.BindingContext = model; TestingPlatform.CreateRenderer(visualElement); if (m == 1) { GC.Collect(); } model.BGColor = model.BGColor == color1 ? color2 : color1; } }