Completed
Last Updated: 26 Jun 2019 18:42 by ADMIN
Release 2019.2.603.360 (R2 2019 minor release)
Francis
Created on: 22 May 2019 10:42
Category: UI for Xamarin
Type: Bug Report
15
Crash when upgrading to Xamarin.Forms 4.0

the following exceptions occur when upgrading to Xamarin.Forms v 4.0:

System.NotSupportedException: Unable to activate instance of type Telerik.XamarinForms.DataControlsRenderer.Android.ListView.TemplateCellContainer

System.NullReferenceException: Object reference not set to an instance of an object
  at Telerik.XamarinForms.InputRenderer.iOS.SegmentedControlRenderer.OnElementDetached


9 comments
ADMIN
Lance | Technical Support Engineer, Principal
Posted on: 26 Jun 2019 18:42
Hello Tino,

This thread's bug report, and subsequent released fix, was for the the NotSupportedException caused by the XF 3.6 renderers being used in XF 4 application.

The issue you're reporting about the bindings doesn't appear to be related as it doesn't even work in Xamarin.Forms 3.2 (note that the latest Telerik release requires XF 3.6). Unfortunately, the code you've provided is not enough information to determine the issue.

Can you please open a new Support Ticket provide us with a test project, or the full code we can use to replicate it. This will help us to isolate the issue and determine the problem. Note that if you include code without a project, please also identify all the platform and SDK details so that there will not be any unnecessary delays getting you a solution.

I will keep an eye out for your ticket and escalate it to the development team when it comes in. Thank you for your understanding and patience.

Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tino
Posted on: 26 Jun 2019 08:16

Hi, I still have the same problem, binding is not working, I have something like this:

 <myControls:SearchResultListControl
                            IsPullToRefreshEnabled="False"
                            ItemsSource="{Binding Pages, Mode=OneWay}"
                            SelectedItem="{Binding SelectedPage, Mode=TwoWay}"
                            x:Name="SearchResultList">
                    <myControls:SearchResultListControl.ItemTemplateSelector>
                        <templates:SettingsTemplateSelector>
                                <templates:SettingsTemplateSelector.LabelTemplate>
                                    <DataTemplate>
                                    <listView:ListViewTemplateCell>
                                        <listView:ListViewTemplateCell.View>
                                            <pages:SettingsLabelCell />
                                        </listView:ListViewTemplateCell.View>
                                    </listView:ListViewTemplateCell>
                                </DataTemplate>
                                </templates:SettingsTemplateSelector.LabelTemplate>
                            <templates:SettingsTemplateSelector.ImageTemplate>
                                <DataTemplate>
                                    <listView:ListViewTemplateCell>
                                        <listView:ListViewTemplateCell.View>
                                            <pages:SettingsImageCell />
                                        </listView:ListViewTemplateCell.View>
                                    </listView:ListViewTemplateCell>
                                </DataTemplate>
                            </templates:SettingsTemplateSelector.ImageTemplate>
                        </templates:SettingsTemplateSelector>
                    </myControls:SearchResultListControl.ItemTemplateSelector>

                    <myControls:SearchResultListControl.ItemStyle>
                        <listView:ListViewItemStyle BackgroundColor="White"
                                                        BorderLocation="Bottom"
                                                        BorderColor="#E8E8E8"
                                                        BorderWidth="4" />
                    </myControls:SearchResultListControl.ItemStyle>
                    
                </myControls:SearchResultListControl>

where  <myControls:SearchResultListControl> is public class SearchResultListControl : RadListView in code behind.

 

So binding still doesnt work....Eather in Xamarin Forms from 3.2 to the latest one 4.XXX

 

Any suggestions?

 

ADMIN
Lance | Technical Support Engineer, Principal
Posted on: 04 Jun 2019 20:00
Hello Patrick,

From what I can tell in my tests, the renderers are working XF 4.0, even when instantiated by the RadChat control's internals. I have followed up with you in our current Forum thread with a test project we can use to try and narrow down what you're seeing, let's continue the conversation there.

If necessary, I will create a new bug report specific for Conversational UI.

Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
n/a
Posted on: 04 Jun 2019 16:58

Hi,

Did this update address the ConversationalUI crash on iOS?

regards

Lynette Anderson
Posted on: 04 Jun 2019 13:45
Thanks for the quick turnaround on this!
ADMIN
Didi
Posted on: 28 May 2019 15:39
Hello,

I can assure you that the dev team is working on this issue and a fix for it will be included in the minor release - expected at the end of this week. 

Regards,
Didi
Progress Telerik
Paul
Posted on: 27 May 2019 21:12
Progress/Telerik, is there a beta channel where the update to resolve this might be obtained in advance? Or are you able to provide any approximate ETA for a public release? We're continually refreshing the NuGet feed hoping to see something. Would be grateful for any information.
ADMIN
Didi
Posted on: 27 May 2019 07:08
Hello,

Currently the workaround we can suggest is downgrade the Xamarin.Forms version to 3.6.0.264807 or higher version of 3.6

Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Brian
Posted on: 25 May 2019 19:31

Workaround?