Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ItemTapped on HCollectionView iOS not working #16

Open
josco007 opened this issue Oct 24, 2019 · 0 comments
Open

ItemTapped on HCollectionView iOS not working #16

josco007 opened this issue Oct 24, 2019 · 0 comments

Comments

@josco007
Copy link

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!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant