Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Xamarin.Forms.CarouselView - missing text in labels

$
0
0

Hey Guys,
I'm new in xamarin.forms and working on my first professional app. I'm using the CarouselView for scrolling between informations like in attached images. At the forward scrolling all informations are complete and all labels getting the expected informations. After back scrolling, the labels losing some informations. I have no idea whats going worng there. No exception or other errors.

Thank you for support in advance

        <carousel:CarouselView ItemsSource="{Binding Searchprofiles}" Grid.Row="2">
            <carousel:CarouselView.ItemTemplate>
                <DataTemplate>

                    <ScrollView>

                        <Grid Padding="10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="auto" />
                                <RowDefinition Height="auto" />
                                <RowDefinition Height="auto" />
                                <RowDefinition Height="auto" />
                            </Grid.RowDefinitions>

                            <Label Text="{Binding Datum}" TextColor="Gray" FontSize="Micro" HorizontalOptions="EndAndExpand" Grid.Row="0" />

                            <Grid  Grid.Row="1" >
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="75" />
                                    <ColumnDefinition Width="auto" />
                                </Grid.ColumnDefinitions>
                                <Image Source="..." VerticalOptions="Start" Grid.Column="0"/>
                                <Label Text="{Binding Description}" TextColor="Black" FontSize="Default" Grid.Column="1"/>
                            </Grid>

                            <Label Text="{Binding FormattedAddress}" TextColor="Gray" HorizontalOptions="CenterAndExpand" FontSize="Small" Grid.Row="2" />
                            <Label FormattedText="{Binding BaseDataInfo}" HorizontalOptions="CenterAndExpand" Grid.Row="3" />
                        </Grid>
                    </ScrollView>
                </DataTemplate>
            </carousel:CarouselView.ItemTemplate>
        </carousel:CarouselView>

Sorry, can't upload images :-(


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>