title: MotionEventCompat functions are deprecated
body: <p>I am trying to add an <code>onTouchEvent</code> to a <code>View</code>, but I then see the deprecation support on this link: <a href="https://developer.android.com/sdk/support_api_diff/26.0.0-alpha1/changes/android.support.v4.view.MotionEventCompat.html" rel="noreferrer">https://developer.android.com/sdk/support_api_diff/26.0.0-alpha1/changes/android.support.v4.view.MotionEventCompat.html</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/bhRFe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bhRFe.png" alt="enter image description here"></a></p>
  
  <p>It says, they are all deprecated. So what code should be used to replace the <code>MotionEventCompat</code> functions?</p>