From 91451c86d8ca0af444d843dc198f209cf9a4b792 Mon Sep 17 00:00:00 2001 From: expensivecow Date: Sat, 3 Jun 2023 21:51:47 -0700 Subject: [PATCH] Modify generated ID starting point to prevent collision with ItemViewType --- src/Controls/src/Core/DataTemplate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controls/src/Core/DataTemplate.cs b/src/Controls/src/Core/DataTemplate.cs index de82e4868108..22e146c8bf40 100644 --- a/src/Controls/src/Core/DataTemplate.cs +++ b/src/Controls/src/Core/DataTemplate.cs @@ -10,7 +10,7 @@ namespace Microsoft.Maui.Controls /// public class DataTemplate : ElementTemplate, IDataTemplateController { - static int idCounter = 1; + static int idCounter = 100; int _id; string _idString;