Completed
Last Updated: 07 Jun 2023 07:41 by ADMIN
Release 5.2.0
Michał
Created on: 01 Feb 2023 08:57
Category: MaskedEntry
Type: Bug Report
1
MaskedEntry: [Android] Exception when using AddSingleton approach in shell app

When I register the pages and controls using AddTransient it works but when I use AddSingleton it doesn't. 

System.InvalidOperationException: PlatformView cannot be null here
[mono-rt]    at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].get_PlatformView() in ViewHandlerOfT.cs:line 36
[mono-rt]    at Telerik.Maui.Handlers.RadMaskedEntryHandler.GetTextInputFromNativeVisualTree()
[mono-rt]    at Telerik.Maui.Handlers.RadMaskedEntryHandler.UpdateNativeTextInput()
[mono-rt]    at Telerik.Maui.Handlers.RadMaskedEntryHandler.NativeView_ChildViewRemoved(Object sender, ChildViewRemovedEventArgs args)

2 comments
ADMIN
Maria
Posted on: 11 May 2023 08:01

Hеllo Adam,

I made some research about this situation and the public item status is changed to Completed by mistake. The fix will be released in the official R2 2023 release, expected in June. I changed the status to In Development, and when the fix is live, the status will be changed and the release version will be added. For example, as it is in this item: https://feedback.telerik.com/maui/1598299-datagrid-add-ability-to-bind-system-data-datatable-or-dataview

Regards,
Maria
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Adam
Posted on: 09 May 2023 19:47
This is marked "Completed" but doesn't indicate a release that it's included in. I still notice it happening in the latest release. Is there something I'm missing?