Changes

HowTo:Convert Xamarin XAMLs to Maui

208 bytes added, 14 August
/* Avoid using SyncFusion ListViews directly in SfPullToRefresh controls */
=== Avoid using SyncFusion ListViews directly in SfPullToRefresh controls ===
'''To prevent an issue on some Android devices that causes items in a ListView SfListViewExt to be rendered incorrectly or not at all after triggering a PullToRefresh, avoid placing a SfListViewExt directly in a SfPullToRefresh control'''.Instead, wrap the ListView either in a Grid (see example below) or, for example, DataTemplate and use it in a ContentControlas a child of the SfPullToRefresh control, as shown in the Xaml example in the above section "Avoid using SyncFusion ListViews directly in SfPullToRefresh controls"below.
{| class="wikitable"
</syntaxhighlight>
| <syntaxhighlight lang="xml">
<pullToRefresh:SfPullToRefreshGrid> <pullToRefresh:SfPullToRefreshGrid.PullableContentResources> <GridResourceDictionary> <DataTemplate x:Key="ListViewTemplate">
<controls:SfListViewExt
.../>
</DataTemplate> </ResourceDictionary> </Grid.Resources<pullToRefresh:SfPullToRefresh> <pullToRefresh:SfPullToRefresh.PullableContent> <controls:ContentControl ContentTemplate="{DynamicResource ListViewTemplate}" /> </pullToRefresh:SfPullToRefresh.PullableContent> </pullToRefresh:SfPullToRefresh></Grid>
</syntaxhighlight>
|}
600
edits