Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

CircleListView with grouping is very slow in 1.5.2 #356

@EmilAlipiev

Description

@EmilAlipiev

When I have a listview with grouping, on my galaxy active watch 2 with tizen 5.5, listview is loading fast but i cannot scroll immediately. there is a huge delay. i have to wait like 5-10secs and if i pull from the middle of the watch still not working, only way to start scrolling is to use Bezel. Once i scroll with Bezel, touch scroll is also working.
on active watch, there is no physical Brezel but what i mean is i can only do the first scroll from the edges like Brezel.
if I remove the grouping, everything works fine. My template is very basic as below. Data is not matter, i tried with 5 items to 300 items, result is the same.

To Reproduce
Steps to reproduce the behavior:

use this template with some simple list of objects

 <cui:CircleListView
            x:Name="List"
            AbsoluteLayout.LayoutFlags="All"
            GroupDisplayBinding="{Binding Key}"
            HasUnevenRows="True"
            IsGroupingEnabled="True"
            ItemLongPressed="OnItemLongPressed"
            ItemsSource="{Binding Items}"
            SelectedItem="{Binding SelectedWorkoutLog, Mode=OneWayToSource}">
            <cui:CircleListView.Header>
                <Label
                    cui:CircleListView.CancelEffect="True"
                    FontAttributes="Bold"
                    HorizontalTextAlignment="Center"
                    Text="{Binding TotalCount}"
                    TextColor="Red"
                    VerticalOptions="Center"
                    VerticalTextAlignment="Center" />
            </cui:CircleListView.Header>
            <cui:CircleListView.GroupHeaderTemplate>
                <DataTemplate>
                    <ViewCell>
                        <StackLayout
                            BackgroundColor="DeepSkyBlue"
                            HorizontalOptions="FillAndExpand"
                            Orientation="Horizontal"
                            VerticalOptions="StartAndExpand">
                            <Label
                                HorizontalOptions="Center"                      
                                Text="{Binding Key}"
                                VerticalOptions="Center" />
                        </StackLayout>
                    </ViewCell>
                </DataTemplate>
            </cui:CircleListView.GroupHeaderTemplate>
            <cui:CircleListView.ItemTemplate>
                <DataTemplate>
                    <ViewCell>
                              <Grid
                                Margin="5,0"
                                AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
                                AbsoluteLayout.LayoutFlags="All"
                                HeightRequest="130"
                                HorizontalOptions="FillAndExpand"
                                RowDefinitions="Auto,*"
                                VerticalOptions="CenterAndExpand">
                                <Label
                                    Grid.Row="0"
                                    IsVisible="False"
                                    Text="{Binding Key}" />                              
                                <Label
                                    Grid.Row="1"
                                    Margin="2,5"
                                    FontSize="Large"
                                    HorizontalOptions="CenterAndExpand"
                                    Text="{Binding Name}"
                                    VerticalOptions="Center" />

                            </Grid>
                    
                    </ViewCell>
                </DataTemplate>
            </cui:CircleListView.ItemTemplate>

        </cui:CircleListView>

Environment (please complete the following information):

  • Target Product Galaxy Watch Active 2
  • Tizen Platform Version 5.5
  • Tizen.CircularUI Version 1.5.2
  • Xamarin.Forms 4.8.1687

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions