Adding a swipe causes the list to scroll slowly.

2 posts, 0 answers
  1. SeokYeol
    SeokYeol avatar
    6 posts
    Member since:
    Mar 2018

    Posted 04 May 2018 Link to this post

    I test it on xamarin forms ios. 
    Adding a swipe and not doing it The scroll list speed is too different.
    And adding two swipes is okay, but adding five swipes slows down the list.
    The code is shown below.

    <telerikDataControls:RadListView.ItemSwipeContentTemplate>
                    <DataTemplate>
                        <Grid Padding="0,0,0,5"
                              ColumnSpacing="0">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="60" />
                                <ColumnDefinition Width="60" />
                                <ColumnDefinition Width="60" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="60" />
                                <ColumnDefinition Width="60" />
                            </Grid.ColumnDefinitions>
                            <Button 
                                Grid.Column="0"
                                BorderRadius="0"
                                Image="{Binding FavoriteImage}"
                                BackgroundColor="{DynamicResource C_main_lev3}"
                                Clicked="Favorite_Clicked"/>
                            <Button 
                                Grid.Column="1"
                                BorderRadius="0"
                                Image="ic_refresh.png"
                                BackgroundColor="{DynamicResource C_main_lev2}" />
                            <Button 
                                Grid.Column="2"
                                BorderRadius="0"
                                Image="ic_setting.png"
                                BackgroundColor="{DynamicResource C_main_lev1}"
                                Clicked="NickNameUpdate_Clicked"/>
                            <Button 
                                Grid.Column="4"
                                BorderRadius="0"
                                Text="hide"
                                TextColor="White"
                                BackgroundColor="{DynamicResource C_sub_theme3_lev2}"
                                Clicked="Hide_Clicked" />
                            <Button 
                                Grid.Column="5"
                                BorderRadius="0"
                                Text="block"
                                TextColor="White"
                                BackgroundColor="{DynamicResource C_accent_theme1}"
                                Clicked="Block_Clicked" />
                        </Grid>
                    </DataTemplate>
                </telerikDataControls:RadListView.ItemSwipeContentTemplate>
                

  2. Yana
    Admin
    Yana avatar
    5013 posts

    Posted 09 May 2018 Link to this post

    Hello SeokYeol,

    I have tested this in a basic setup using the example from our documentation (ListView: Cell Swipe) together with the provided code and the SwipeContentTemplate didn't affect the scrolling performance at my side.  I will need some more details on the scenario you have, is it possible to prepare a sample project demonstrating the issue and send it to us?

    You should open a private support ticket and attach it there as only image attachments are allowed in the public forums.

    Thank you in advance for your cooperation.

    Regards,
    Yana
    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