How can I add on touch released event to Skiasharp

Yusuf 791 Reputation points
2021-02-21T14:45:18.033+00:00

Hi
How can I add on touch Released event in Skiasharp
I'm trying to add the event to this example

Thanks in advance

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

Accepted answer
  1. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,756 Reputation points
    2021-02-22T08:21:29.727+00:00

    Hello,

    Welcome to Microsoft Q&A!

    You can detect the touch in OnTouchEffectAction method in its parent class InteractivePage .

    The method is triggering during the touch process .

       protected void OnTouchEffectAction(object sender, TouchActionEventArgs args)  
        {  
         
                   if(args.Type == TouchActionType.Released)  
                   {  
         
                   }  
         }  
    
     
    

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.