Update XF to ver 4.0

4 posts, 0 answers
  1. Abdou
    Abdou avatar
    14 posts
    Member since:
    Jul 2018

    Posted 22 May 2019 Link to this post

    Hi,

    When Updating Xamarin Forms to version 4.0.x.x the ListView hangs the UI and loads very slowly.

    Please Check!

     

  2. Didi
    Admin
    Didi avatar
    382 posts

    Posted 22 May 2019 Link to this post

    Hi Abdou,

    Thank you for the provided information.

    Currently we have an issue logged in our Feedback portal reporting a crash with Telerik UI for Xamarin controls when upgrading to Xamarin.Forms version 4.0 and here is the link:

    https://feedback.telerik.com/xamarin/1410095-crash-when-upgrading-to-xamarin-forms-4-0

    Workaround for the crash:
    I could suggest you downgrade the Xamarin.Forms version to 3.6.0.264807 or higher version of 3.6.

    Regarding to the "When Updating Xamarin Forms to version 4.0.x.x the ListView hangs the UI and loads very slowly"? Could you please elaborate more on this? For example this behavior observes when upgrading to Xamarin.Forms v4.0 but with the previous versions of Xamarin, the RadListView behaves as expected. For further research the case I will need more information on the exact setup you have. May I ask you to send me a sample where the issue could be reproduced or how the RadListView is defined.

    Note that in the forum only image attachment are allowed. If you want to send us a sample you need to open a support ticket and attach the project there. 

    Let me know if I can assist with anything else.

    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
  3. Tino
    Tino avatar
    2 posts
    Member since:
    Sep 2017

    Posted 26 Jun 2019 Link to this post

    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 from Pages still doesnt work....Eather in Xamarin Forms starting from 3.2 to the latest one 4.XXX

    Any suggestions?
  4. Didi
    Admin
    Didi avatar
    382 posts

    Posted 28 Jun 2019 Link to this post

    Hi Tino,

    The issue logged in our Feedback portal regarding the crash on Xamarin.Forms 4.0 was fixed. A fix for it is included in the Telerik UI for Xamarin Release 2019.2.603.360 (R2 2019 minor release). 
     
    If you still observe same issue or similar to the reported one (when using the minor release or newer version of Telerik UI for Xamarin). - may I ask you to send us a sample where the exception could be reproduced. In this way we could research the concrete scenario further.

    Note: You should open a support ticket and attach the project there because in the forum only image attachments are allowed. 

    Looking forward to your reply. 

    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
Back to Top