1. #1
    Sencha User
    Join Date
    Aug 2013
    Posts
    11
    Vote Rating
    0
    Arci is on a distinguished road

      0  

    Default Universal tap event interceptor?

    Universal tap event interceptor?


    How do you create a global interceptor/ listener for all the tap events in the app? Or is there a way in Sencha to intercept methods given a wild char method name? (e.g. I want to intercept all methods starting with 'onTap' in the app.)

    The reason for this is I'm encountering a problem in Android wherein the keyboard does not automatically hide after you click on a different area or when you click a tab, etc. I'm thinking of creating an interceptor/ listener for all the onTap events to hide the keyboard when it is shown.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,931
    Vote Rating
    130
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    You can probably do something like this:
    http://www.sencha.com/forum/showthre...l=1#post277901

  3. #3
    Sencha User
    Join Date
    Aug 2013
    Posts
    11
    Vote Rating
    0
    Arci is on a distinguished road

      0  

    Default


    @fmoseley: Thanks for the link! However, it seems that I do not have access on it. When I click it, it says that I do not have permission to access the page.

Thread Participants: 1

Tags for this Thread