title: Cannot call this method while RecyclerView is computing a layout or scrolling
body: <p>I already tried looking at this answer which answers a similar question: <a href="https://stackoverflow.com/a/31069171/6313011">https://stackoverflow.com/a/31069171/6313011</a></p>
  
  <p>I am getting this error:</p>
  
  <p>"Cannot call this method while RecyclerView is computing a layout or scrolling"</p>
  
  <p>In my adapter class I have a private boolean <code>mOnBind</code> init to false.</p>
  
  <p>Then I have</p>
  
  <pre><code>    @Override
      public void onBindViewHolder(RecyclerViewHolder holder, int position) {
          mOnBind = true;
          holder.bindRow(myList.get(position), position);
          mOnBind = false;
      }
  </code></pre>
  
  <p>And then in my <code>RecyclerViewHolder</code> method I have:</p>
  
  <pre><code>myEditText.setOnFocusChangeListener(new View.OnFocusChangeListener() {
                  @Override
                  public void onFocusChange(View view, boolean focus) {
                      if (!mOnBind &amp;&amp; !focus) {
                          notifyDataSetChanged(); //causes error!
                      }
                  }
              });
  </code></pre>
  
  <p>I thought using the <code>mOnBind</code> approach would fix the error but apparently not. How do I fix?</p>