ListView disappearing inside StackLayout

2 posts, 0 answers
  1. Osayed
    Osayed avatar
    7 posts
    Member since:
    Feb 2018

    Posted 02 Jun 2018 Link to this post

    Hello, when I put the Telerik ListView inside a StackLayout, it disappears. I'm trying to add a search box but without a stacklayout the Entry is not visible. And with a stacklayout the ListView is not visible.

    I am using Xamarin.Forms, Visual Studio with the latest version of Telerik.
  2. Didi
    Didi avatar
    379 posts

    Posted 04 Jun 2018 Link to this post

    Hello Osayed,

    This is a common issue when the ListView component is inside StackLayout and the ItemSource property is initially an empty list (or empty ObservableCollection), the ListView is not visible on screen, even after items are added later on. 

    I have logged this in our Feedback Portal, you could follow the item in the link below:

    At the moment, suitable workaround I could suggest is replacing the StackLayout with Grid layout. 
    For more details, please take a look at the topic in our Forum about ListView not showing up here.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top