title: How to change an another item's state in a RecyclerView in android
body: <p>I have a RecyclerView. Every layout contains expandle view within itself.
  With item click expandle view of clicked item is expands. And if I'll click on two items there is will be two items with expanded view in my RecyclerView. I need to close others item's expandles view with item click. Only one item with expanded expandle view must be in recycler.</p>
  
  <p>How do I can make this?</p>
  
  <pre><code>public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
      holder.exp.collapse();
      holder.itemView.setOnClickListener(v -&gt; {
          holder.exp.expand();
      });
  </code></pre>