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

ListView inside ScrollView difference between Android and iOS

$
0
0

This is the code:

Content = new ScrollView () {
                VerticalOptions = LayoutOptions.Fill,
                Content = new StackLayout () {
                    VerticalOptions = LayoutOptions.Fill,
                    Children = {
                        this.ListOfComments,
                        CommentArea
                    }
                }
            };

The ListView:

readonly ListView ListOfComments = new ListView () {
            HasUnevenRows = true,
            SeparatorVisibility = SeparatorVisibility.None,
            IsPullToRefreshEnabled = true, 
            IsRefreshing = true,
        };

The expected result is this (Android):

On iOS is not the same:

Why?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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