title: RecyclerView inside ScrollView, some items are not shown
body: <p>I had a RecyclerView in ScrollView like this:</p>
  
  <pre><code>&lt;ScrollView
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;!--other stuff--&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;android.support.v7.widget.RecyclerView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:visibility="gone"/&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;!--other stuff--&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>And the <code>RecyclerView</code>'s item is a <code>RelativeLayout</code>, inside of which there is an <code>EditText</code> and other views. The <code>layout_height</code> of that <code>RelativeLayout</code> and <code>EditText</code> is both <code>wrap_content</code>. User can input into that <code>EditText</code> without any limit of length/lines so that each item's height is different.</p>
  
  <p>Then I found that <code>getItemCount()</code> in <code>Adapter</code> returns true value but <code>onBindViewHolder()</code> is called of wrong times(less than it should be), thus not enough to show all items.</p>
  
  <p>I found that this will happen only if I wrote <code>recyclerView.setNestedScrollingEnabled(false)</code>. But I cannot remove this line. Because if I did so, the <code>RecyclerView</code> won't scroll smoothly and is not harmonious with other views inside <code>ScrollView</code> and <code>ScrollView</code> itself.</p>
  
  <p>This occurs on 6.0 but not on 4.1. </p>
  
  <p>I communicated with Google at this page: <a href="https://code.google.com/p/android/issues/detail?id=213914" rel="noreferrer">https://code.google.com/p/android/issues/detail?id=213914</a> and he told me this is a bug fix for <code>RecyclerView</code>. You can visit that page so that you can understand the question and my goal better(There is a small sample project to show the problem there). I don't agree with him even now and I want to solve the problem. Please help, thank you in advance.</p>