2012-11-02 91 views

回答

0

公共類OnTouchListner實現OnTouchListener {

@Override 
    public boolean onTouch(View v, MotionEvent event) { 
     if(event.getAction()==MotionEvent.ACTION_DOWN) 
      { 
       businessResultListView.smoothScrollBy(0, 0); 
       return true; 

      } 
     return false; 
    } 
} 

,並稱之爲:

businessResultListView.setOnTouchListener(新OnTouchListner());