DataTemplate through cusomer view.

I have create    a sub-view with sflistview like below...the TapGestureRecognizer   is not firing..what am i doing wrong?

    

             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="etech.audit.Views.QuestionType">



   
       
           
           
       

       
           
               
               
               
           

           
               

           
               
                   
                       
                   

               
               
                   
                       
                   

               
           

       

   





        public Command ImageTappedCommand { get; set; }
        public QuestionType()
        {
            InitializeComponent();
            ImageTappedCommand = new Command(ImagetappedCommandHandlerAsync);
        }

        private async void ImagetappedCommandHandlerAsync(FormResultQuestionModel obj)
        {
               //     NOT BEING FIRED
            }
        }

1 Reply

RS Rawoof Sharief Muthuja Sherif Syncfusion Team June 11, 2018 06:18 AM UTC

Hi Anthony, 
 
Thanks for contacting Syncfusion support. 
 
We have checked the reported query “Tap gesture is not firing” from our end. We have prepared a sample based on the given information, in our sample we have loaded the SfListView with image in the ItemTemplate and write the gesture for the image. Sample is working fine and the image gesture is fired as expected. 
 
For your reference we have attached the sample and you can download it from the below link. 
 
 
Can you please check whether the reported issue occurs in our sample also? If yes, please share the details of the tested device which helps us to analyze the issue better at our end.   
   
If possible, can you please modify our sample to replicate the reported issue in our sample which would highly help us to analyze the query better.     
 
Please let us know if you require further assistance. 
 
Regards, 
Rawoof M. 
 
 


Loader.
Up arrow icon