title: Get Hold of the View of an item inside RecyclerView at given position
body: <p>I have <code>RecyclerView</code> using <code>GridLayout.</code> Each item view consists an Image and name.</p>
  
  <p><strong>UseCase</strong>: On click of any item , a bottom sheet should which will have certain number of actions to do on the selected item . <strong>One of the action is 'Rename' . On click of Rename , bottom sheet should close and TextView of that particular item should become editable</strong>. </p>
  
  <p>My Attempt : I created an Observer , which will be triggered on click of the rename action. inside this observer i am trying to get hold of the view from position . </p>
  
  <pre><code>RecyclerView.ViewHolder vh = mElementListView.findViewHolderForAdapterPosition(position);
                  if(vh == null) {
                      Log.d("AssetList","Null at position-"+position);
                  } else {
                      View view = vh.itemView;
                      EditText editText = view.findViewById(R.id.element_item_rename);
                      editText.setVisibility(View.VISIBLE);
                  }
  </code></pre>
  
  <p>But I am getting <code>NullPointerException</code> for some of the item, even though the item clicked is visible in the list.</p>
  
  <blockquote>
    <p>java.lang.NullPointerException: Attempt to invoke virtual method 'void
    android.widget.EditText.setVisibility(int)' on a null object reference</p>
  </blockquote>
  
  <p>Can Anyone help me with this ?</p>