title: How to get item from RecyclerView adapter in Android
body: <p>In old code when I was using <code>ListView</code> with custom adapter I could get item with this code.</p>
  
  <pre><code>Message msg = (Message) adapter.getItem(poistion);
  </code></pre>
  
  <p>Now I am implementing <code>RecyclerView</code>. How can I get item from <code>RecyclerView.adapter</code>?</p>