Why SfListView requires a datatemplate for header?
<sfListView:SfListView.GroupHeaderTemplate>
<DataTemplate>
<Label x:Name="lblName" />
</DataTemplate>
</sfListView:SfListView.GroupHeaderTemplate>
For example Xamarin Forms ListView doesnt require
<ListView>
<ListView.Header>
</ListView.Header>
</ListView>
Problem here is if I have label like above, I cannot access it from code behind directly like lblName.Text="Test";, however in XF listView it is possible to do this. Can you please let me know what is the difference and how can I achieve this?