Code example for Handler

Methods: getLooper

        GestureHandler() { 
        GestureHandler(Handler handler) {
     * Creates a GestureDetector with the supplied listener. 
     * You may only use this constructor from a UI thread (this is the usual situation). 
     * @see android.os.Handler#Handler() 
     * @param context the application's context 
     * @param listener the listener invoked for all the callbacks, this must 
     * not be null. 
     * @throws NullPointerException if {@code listener} is null. 
Stop searching for code, let great code find you!  Add Codota to your java IDE