title: How to get child view from RecyclerView?
body: <p>I am trying to get child view by position. I could get view when one item is clicked:    </p>
  
  <pre><code>rvSellRecords.addOnItemTouchListener(new RecyclerItemClickListener(getActivity(), new RecyclerItemClickListener.OnItemClickListener() {
          @Override
          public void onItemClick(View view, int position) {
              ((MainActivity) getActivity()).showSellRecordFragment(position, view);
          }
      }));
  </code></pre>
  
  <p>Now I cannot get child view, without click - let's say by position for example:</p>
  
  <pre><code>rvSellRecords.someMagicalMethodWhichReturnsViewByPosition(5);
  </code></pre>
  
  <p>Question: <strong>How to get child view from RecyclerView?</strong></p>
  
  <p><strong>EDIT FOR BOUNTY</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/Uv2pb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Uv2pb.png" alt="enter image description here"></a></p>
  
  <p>I have <code>RecyclerView</code> to show products list. When I click on it, I am adding new Fragment where I show product information. While opening I am updating toolbar with view from <code>RecyclerView</code> - this is working perfectly:</p>
  
  <pre><code>    rvSellRecords.addOnItemTouchListener(new RecyclerItemClickListener(getContext(), new RecyclerItemClickListener.OnItemClickListener() {
                      @Override
                      public void onItemClick(View view, int position) {
                          sellPresenter.onSellRecordSelected(position, view);
                      }
                  }));
  
      When I click blue button with "+", I am incrementing quantity by 1.
  
  
  
  
  
      public void onIncrementButtonClicked(){
                  sellRecord.setCount(sellRecord.getCount() + 1);
                  showQuantity();
                  bus.post(new SellRecordChangedEvent(sellRecord, sellRecordPosition));
                  }
  
  Then I am posting updated sellRecord to first fragment using EventBus. There I am updating list data. I supposed that updating value(sell) automatically updates adapter. Now I am getting view from adapter using custom method(getView) which was created by me(you can find it below).
  
  
  
   @Subscribe
  public void onEvent(SellRecordChangedEvent event){
      sell.getSellRecords().set(event.getSellRecordPosition(), event.getSellRecord());
      sell.recalculate();
      int position = event.getSellRecordPosition();
      View view = adapter.getView(position);
      bus.post(new TransactionTitleChangedEvent(null, view));
  }
  
  This is my adapter class - I changed adapter little bit to collect view in list and added method which returns view for respective position:
  
  
  
  public class SellRecordsAdapter extends RecyclerView.Adapter&lt;SellRecordsAdapter.ViewHolder&gt; {
  
      .....
      .....
      .....
      List&lt;View&gt; viewList;
  
      public SellRecordsAdapter(List&lt;SellRecord&gt; sellRecordList) {
  
          .....
  
          viewList = new ArrayList&lt;&gt;();
      }
  
      .....
      .....
      .....
  
      @Override
      public void onBindViewHolder(ViewHolder viewHolder, int i) {
  
          .....
          .....
          .....
  
          viewList.add(i, viewHolder.itemView);
  
      }
  
  
      public View getView(int position){
          return viewList.get(position);
      }
  
  }
  </code></pre>
  
  <p><strong>My problem</strong>: when I updating view in toolbar, I am getting old view. When quantity is 3, I am getting view with 2. When quantity 10 - view is with 9.</p>
  
  <p><strong>My question</strong>: how to get view from recycler view using position of item(without on click listener)?</p>
  
  <p><a href="https://i.stack.imgur.com/BKsX5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BKsX5.png" alt="enter image description here"></a></p>