Home > Blockchain >  Sub list is not binding to ListView grouping in xamarin forms
Sub list is not binding to ListView grouping in xamarin forms

Time:09-17

I'm implementing listview grouping in xamarin forms to display the list within a listview. I need to show one header and a list under the header.

Models:

public class ActivityHistoryDetails
    {
        public string EventDate { get; set; }
        public List<History> History { get; set; }
    }
   

I'm binding a list of "ActivityHistoryDetails" type to the listview.

Now I'm able to display only the header with this code. Sub Lists are not binding.

CodePudding user response:

For your needs, you can refer to this enter image description here

  • Related