Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

ListView Scrolling problem after Xamarin.Forms update.

I updated Xamarin.Forms from 3.6 to 4.1 because needed for MediaManager. And after that I have a problem:
my ListView scrolls down like a usually, but scrolling up starts freezing.
What can I do without downgrading?

<ListView x:Name="MainListView" ItemTapped="MainListView_ItemSelected" Header="{Binding FirstMessage}" IsPullToRefreshEnabled="true" RowHeight="120" HasUnevenRows="True" SelectionMode="None" BackgroundColor="White" SeparatorColor="#dcdcdc" CachingStrategy="RecycleElementAndDataTemplate">
<ListView.ItemTemplate>
                <DataTemplate>
                    <ViewCell Height="120">
                        <ContentView Padding="8,0,0,0" IsClippedToBounds="true">
                            <StackLayout>
                                <Frame HasShadow="False" CornerRadius="5" Padding="0,10,0,0" IsClippedToBounds="true">
                                    <StackLayout Orientation="Horizontal">
                                        <RelativeLayout HorizontalOptions="Start" Margin="0, 0, 0, 0">
                                            <Frame HasShadow="False" Padding="0" Margin="0" CornerRadius="5" IsClippedToBounds="true">
                                                <Grid Margin="0">
                                                    <Image Aspect="AspectFill" HorizontalOptions="Fill" VerticalOptions="Fill" HeightRequest="100" WidthRequest="100" BackgroundColor="#e9edf1">
                                                        <Image.Source>
                                                            <UriImageSource Uri="{Binding ResizedImageUrlCell}"  CacheValidity="14" CachingEnabled="True"/>
                                                        </Image.Source>
                                                    </Image>
                                                    <Image Source="mm_icon_video.png" Aspect="AspectFit" HorizontalOptions="End" VerticalOptions="End" HeightRequest="15" WidthRequest="20" Margin="0, 0, 5, 5" IsVisible="{Binding IsVideo}" />
                                                </Grid>
                                            </Frame>
                                        </RelativeLayout>
                                        <StackLayout Padding="10,0,0,10" VerticalOptions="Center">
                                            <Label Text="{Binding Title}" FontSize="18" FontFamily="{StaticResource BoldFont}" TextColor="Black" Opacity="{Binding HasRead, Converter={local:BoolToOpacityConverter}}" />
                                            <Label Text="{Binding Author}" FontSize="12" TextColor="#49B8EE" FontFamily="{StaticResource BoldFont}" Opacity="{Binding HasRead, Converter={local:BoolToOpacityConverter}}" />
                                        </StackLayout>
                                    </StackLayout>
                                </Frame>
                            </StackLayout>
                        </ContentView>
                    </ViewCell>
                </DataTemplate>
            </ListView.ItemTemplate>
     </ListView>

Answers

Sign In or Register to comment.