My listview is listing only the id instead of 3 items on the table

Gbenga Banuso Odumosu 40 Reputation points
2024-05-28T15:40:05.35+00:00

PLEASE HELP ME

I am working on sqlite database , i have the following code in c# maui

 return (await conn.Table
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
719 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,154 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,584 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 4,770 Reputation points
    2024-05-28T20:33:37.04+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Your issue might be related to how you're binding the data to the CollectionView. It seems like you want to filter your data based on certain conditions and then display it in the CollectionView. Make sure your filtering logic is correct and that the data you're binding has the necessary properties.

    Ensure that your CollectionView is correctly set up to bind to the Id, ImagePath, and Name properties.

    If you are using MVVM, your ViewModel should handle data fetching and binding. Ensure you set the ItemsSource of the CollectionView correctly.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments