Forum Cross Platform with Xamarin
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 is not Scrolling

Hello, I am beginning in Xamarin Forms. I have the following code in my application.

using Xamarin.Forms;

namespace Modulo1
{
    public class GarconsListPage : ContentPage
    {
        public GarconsListPage()
        {
            var garcons = GetGarcons();
            Content = garcons;
        }

        private ListView GetGarcons()
        {
            var garcons = new ListView();
            garcons.ItemsSource = new string[] {
                "Brauzio", "Asdrugio", "Entencius", "Gesfredio", "Cartucious",
                "Gesfrundio", "Adoliterio", "Kentencio", "Castrogildo", "Gesifrelio"
            };
            return garcons;
        }
    }
}

When I execute it the list is not scrolling. Can you help me, please?

Tagged:

Best Answer

Answers

Sign In or Register to comment.