title: Recyclerview inside NestedScrollview scrollTo position not working
body: <p>When I use RecyclerView inside NestedScrollView, then I use like <code>scrollTo()</code> fixed position, it's not working.</p>
  
  <pre><code>(rlv_brandWithLetter.layoutManager as LinearLayoutManager).scrollToPositionWithOffset(index, 0)
  rlv_brandWithLetter.smoothScrollToPosition(index)
  </code></pre>
  
  <p>I read the source code of <code>NestedScrollView</code>,the method <code>scrollTo()</code> was executed.</p>
  
  <pre><code>@Override
  public void scrollTo(int x, int y) {
      if (getChildCount() &gt; 0) {
          View child = getChildAt(0);
          x = clamp(x, getWidth() - getPaddingRight() - getPaddingLeft(), child.getWidth());
          y = clamp(y, getHeight() - getPaddingBottom() - getPaddingTop(), child.getHeight());
          if (x != getScrollX() || y != getScrollY()) {
              super.scrollTo(x, y);
          }
      }
  }
  </code></pre>
  
  <p>But <code>x != getScrollX() || y != getScrollY()</code> always return <code>false</code>,this is the clue that I found.</p>
  
  <p>Has anyone ever met this problem?</p>