title: getActionView is deprecated?
body: <p>Today I decide to translate my android app from Java to Kotlin ! :) But I was very surprise when I type this :</p>
  
  <pre><code>val searchItem = menu.findItem(R.id.action_search)
  val searchView = MenuItemCompat.getActionView(searchItem) as SearchView
  </code></pre>
  
  <p>And Android Studio told me : " 'getActionView(MenuItem!):View!' is deprecated. Deprecated in Java "</p>
  
  <p>So before to ask you the solution I ask to Google what is the solution and I believed I find the solution : "Use getActionView() directly." </p>
  
  <p>So I modified my code like this :</p>
  
  <pre><code>val searchView = MenuItemCompat.getActionView() as SearchView
  </code></pre>
  
  <p>But <code>getActionView()</code> is still crossed so I don't understand at all...</p>
  
  <p>I will be very happy if you can help me :) Thank you !</p>