Languages

Menu
Sites
Language
CircleListview problem

Hi! I have a problem:  in my CircleListview i can't use bezel to scroll (even if i set RotatoryObjectFocus) and my scrollbar i vertical. Why?

I share my xaml code:

 

<?xml version="1.0" encoding="utf-8" ?>
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:w="clr-namespace:Tizen.Wearable.CircularUI.Forms;assembly=Tizen.Wearable.CircularUI.Forms"
             x:Class="BusFinder.BusLineViewerControll">
    <!--BusList-->
    <w:CirclePage x:Name="Page1" RotaryFocusObject="{x:Reference busLineList}">

        <w:CirclePage.Content>

            <w:CircleListView x:Name="busLineList">

                <w:CircleListView.Header>

                    <StackLayout>

                        <Label x:Name="HeaderLabel1" Text="Linee CTM" FontSize="12" HorizontalTextAlignment="Center"></Label>
                        <BoxView HeightRequest="1" Color="White"></BoxView>

                    </StackLayout>

                </w:CircleListView.Header>

                <w:CircleListView.ItemTemplate>

                    <DataTemplate>
                        <ViewCell>
                            <StackLayout
                            HorizontalOptions="FillAndExpand"
                            Orientation="Vertical"
                            VerticalOptions="FillAndExpand">
                                <!--Nome linea-->
                                <StackLayout
                                HorizontalOptions="CenterAndExpand"
                                Orientation="Vertical"
                                VerticalOptions="Center">
                                    <Label
                                    x:Name="BusName"
                                    FontSize="12"
                                    HorizontalOptions="Center"
                                    HorizontalTextAlignment="Center"
                                    Text="{Binding route_name}"
                                    VerticalOptions="Center"
                                    VerticalTextAlignment="Center"/>
                                    <Label
                                    x:Name="BusId"
                                    FontSize="12"
                                    HorizontalOptions="Center"
                                    HorizontalTextAlignment="Center"
                                    Text="{Binding route_id}"
                                    VerticalOptions="Center"
                                    VerticalTextAlignment="Center"
                                    IsVisible="False"/>


                                </StackLayout>
                                <!--Direzione 1-->
                                <StackLayout
                                HorizontalOptions="CenterAndExpand"
                                Orientation="Vertical"
                                VerticalOptions="Center">
                                    <Label
                                    FontSize="8"
                                    HorizontalOptions="Center"
                                    HorizontalTextAlignment="Center"
                                    Text="{Binding route_dir1}"
                                    VerticalOptions="Center"
                                    VerticalTextAlignment="Center">
                                        <Label.GestureRecognizers>
                                            <TapGestureRecognizer Tapped="Direction_Clicked"/>
                                        </Label.GestureRecognizers>
                                    </Label>

                                </StackLayout>
                                <!--Direzione 2-->
                                <StackLayout
                                HorizontalOptions="CenterAndExpand"
                                Orientation="Vertical"
                                VerticalOptions="Center">
                                    <Label
                                    x:Name="Dir2"
                                    FontSize="8"
                                    HorizontalOptions="Center"
                                    HorizontalTextAlignment="Center"
                                    Text="{Binding route_dir2}"
                                    VerticalOptions="Center"
                                    VerticalTextAlignment="Center">
                                        <Label.GestureRecognizers>
                                            <TapGestureRecognizer Tapped="Direction_Clicked"/>
                                        </Label.GestureRecognizers>
                                    </Label>
                                </StackLayout>
                                <!--Separatore-->
                                <BoxView HeightRequest="15"></BoxView>
                            </StackLayout>
                        </ViewCell>
                    </DataTemplate>

                </w:CircleListView.ItemTemplate>

                <w:CircleListView.Footer>

                    <StackLayout>
                        <BoxView HeightRequest="1" Color="White"></BoxView>
                    </StackLayout>

                </w:CircleListView.Footer>
            </w:CircleListView>

        </w:CirclePage.Content>

    </w:CirclePage>
</CarouselPage>

 

Responses

4 Replies
Juwon(Julia) Ahn

With this information, it is hard to reproduce this issue.

Please create an issue to Tizen.CircularUI project with the test code if this issue occurs on the first page.

Plus, we recommend that you use CircularUI indexPage instead of CarouselPage.

Tizen.Wearable.CircularUI v1.1.0 + Xamarin.Forms v3.5.0.129452 is also recommended because there's a bug fix for the similar issue: https://github.com/Samsung/Tizen.CircularUI/issues/161

feduss
Hi! Thanks for the reply! unfortunally, if i change carouselpage with indexpage, i can't see anything, i see a black ui.
Juwon(Julia) Ahn

As I mentioned before, please create an issue to Tizen.CircularUI project.

The maintainer will help you out. (If you don't want to share your code in public, you can send us an email to tizen.net@samsung.com.)

Plus, you can get information how to use Circular UI API by checking the test apps & samples in Sample apps for Samsung Wearables.

 

feduss
I've created an issue: https://github.com/Samsung/Tizen.CircularUI/issues/182