This is a migrated thread and some comments may be shown as answers.

Adding a swipe causes the list to scroll slowly.

1 Answer 99 Views
ListView
This is a migrated thread and some comments may be shown as answers.
SeokYeol
Top achievements
Rank 1
SeokYeol asked on 04 May 2018, 07:14 AM

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>
            

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 09 May 2018, 11:43 AM
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
Tags
ListView
Asked by
SeokYeol
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or