私はアンドロイドにかなり慣れていません。私は GestureDetector の使用を学んでいて、コード内の次のスニペットの使用を理解できませんでした-
public boolean onTouchEvent(MotionEvent event) {
if (mGestureDetector.onTouchEvent(event))
return true;
else
return false;
}
上記のコードの関連性を教えてください。スニペットはこのウェブサイトからのものです - http://www.tutorialforandroid.com/2009/06/implement-gesturedetector-in-android.html よろしくお願いします。