AiForms.CollectionView
AiForms.CollectionView copied to clipboard
ItemTapped on HCollectionView iOS not working
Hi Iam using this code
<ai:HCollectionView
x:Name="ParticipantsList"
TouchFeedbackColor="Black"
SeparatorVisibility="None"
ColumnWidth="300"
HeightRequest="225"
RelativeLayout.XConstraint="0"
RelativeLayout.YConstraint="0"
RelativeLayout.WidthConstraint="{ConstraintExpression
Type=RelativeToParent,Property=Width, Factor=1, Constant=0 }"
RelativeLayout.HeightConstraint="{ConstraintExpression
Type=RelativeToParent,Property=Height, Factor=1, Constant=225 }"
ItemTapped="ParticipantsList_ItemTapped"
>
<x:Arguments>
<ListViewCachingStrategy>RecycleElement</ListViewCachingStrategy>
</x:Arguments>
<ListView.ItemTemplate>
<DataTemplate>
<ai:ContentCell>
<RelativeLayout Margin="0" >
<RelativeLayout>
<Image Source="shadow_rounded_border.png"
Aspect="Fill"
RelativeLayout.XConstraint="0"
RelativeLayout.YConstraint="0"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, ElementName=SearchControlsGrid,Property=Width, Factor=1, Constant=0 }"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, ElementName=SearchControlsGrid, Property=Height,Factor=1, Constant=0}"/>
...........
this ItemTapped="ParticipantsList_ItemTapped" is working well on andriod but on iOS not. the weird thing here is that in the simulator if I do the tap with the alt key pressed (pinch gesture) the event works!!!!