behaviors
behaviors copied to clipboard
XF 3.5 Crashes
Awesome tool David.
When i upgrade to XF 3.5, the following crashed Android now when an item is tapped.
```
<ListView
x:Name="ListView"
IsVisible="{Binding Items, Converter={StaticResource EmptyListIsFalseConverter}}"
AbsoluteLayout.LayoutFlags="XProportional,SizeProportional"
AbsoluteLayout.LayoutBounds="0,45,1,1"
android:ListView.IsFastScrollEnabled="True"
ItemsSource="{ Binding Items }"
CachingStrategy="RecycleElement"
HasUnevenRows="True"
RefreshCommand="{Binding RefreshCommand}"
IsRefreshing="{Binding IsBusy}"
IsPullToRefreshEnabled="true">
<ListView.Behaviors>
<behaviors:EventHandlerBehavior EventName="ItemTapped">
<behaviors:InvokeCommandAction Command="{Binding ItemTappedCommand}" />
</behaviors:EventHandlerBehavior>
</ListView.Behaviors>
<ListView.ItemTemplate>
<DataTemplate x:DataType="{x:Type addressBook:AddressBookItem}">
<ViewCell>
<template:AddressBookCell />
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
<!-- Prevents ListView from hiding end under the Tab it's embedded in -->
<ListView.Footer>
<StackLayout HeightRequest="50"></StackLayout>
</ListView.Footer>
</ListView>