title: How can I remove OnClickListeners from RecyclerView's ViewHolders when they are disposed?
body: <p>I am using RecyclerViews in my app project and setting OnClickListeners with their ViewHolders (in their constructors like mentioned in a StackOverflow <a href="https://stackoverflow.com/a/33524897/3501958">Q&amp;A</a>).</p>
  
  <p>Then I have this question: <strong>how can I remove OnClickListeners from RecyclerView's ViewHolders when they are disposed.</strong></p>
  
  <p>Usually, we can remove an OnClickListener by doing this:</p>
  
  <pre><code>view.setOnClickListener(null);
  </code></pre>
  
  <p>And if it is a ViewPager's PagerAdapter, we can do so in <code>destroyItem</code> method.</p>
  
  <pre><code>@Override
  public void destroyItem(ViewGroup container, int position, Object object) {
      View view = container.findViewById(R.id.viewId);
      view.setOnClickListener(null);
  }
  </code></pre>
  
  <p>Where can I do so with RecyclerView? --<strong>Or, I need not do so?</strong></p>