Code example for View.OnTouchListener

Methods: onTouch

0
                postUpdateItems(); 
            } 
 
            OnTouchListener l = mManaged.getOnTouchListener();
            if (l != null) {
                return l.onTouch(view, event);
            } 
 
            return false; 
        } 
    } 
 
    private class SelectionTracker implements AdapterView.OnItemSelectedListener {
        @Override 
        public void onItemSelected(AdapterView<?> adapterView, View view, int position, long id) {
            if (mScrollState != OnScrollListener.SCROLL_STATE_IDLE) {
                mScrollState = OnScrollListener.SCROLL_STATE_IDLE;
                postUpdateItems(); 
            } 
 
            OnItemSelectedListener l = mManaged.getOnItemSelectedListener();