title: Auto scroll to specific recycler view wrapped inside nested scrollview seems to be not working for Android X
body: <p>For my app, I'm using Recycler view (androidx.recyclerview.widget.RecyclerView) wrapped inside NestedScrollView (androidx.core.widget.NestedScrollView) as apart from listview data, I wanted to show few more individual data elements. </p>
  
  <p>Scrolling is working fine, but autoscrolling recycler view to some specific index position is not at all happening.</p>
  
  <pre><code> &lt;androidx.core.widget.NestedScrollView&gt; 
      &lt;LinearLayout&gt; 
       &lt;View/&gt; //some more views 
       &lt;androidx.recyclerview.widget.RecyclerView/&gt; 
      &lt;/LinearLayout&gt; 
   &lt;/androidx.core.widget.NestedScrollView&gt; 
  </code></pre>
  
  <p>Also, tried using the below- </p>
  
  <pre><code>    recyclerList.apply 
      { 
      recyclerList.layoutManager = LinearLayoutManager(activity)
  recyclerList.isNestedScrollingEnabled = false 
  val adapter = RecyclerAdapter(context,dataList) 
  recyclerList.adapter = adapter recyclerList.smoothScrollToPosition(dataList.size() - 1)//auto scroll to the bottom 
      } 
  </code></pre>
  
  <p>The above code snippet is not autoscrolling the recycler view to the last item of the list. Please suggest.</p>
  
  <p>Already tried answers - </p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/questions/54573167/how-to-fix-the-scroll-behaviour-of-android-androidx-recyclerview-widget-recycler">How to fix the scroll behaviour of Android androidx.recyclerview.widget.RecyclerView view with androidx.core.widget.NestedScrollView</a> </p></li>
  <li><p><a href="https://github.com/googlesamples/android-RecyclerView/issues/27" rel="nofollow noreferrer">https://github.com/googlesamples/android-RecyclerView/issues/27</a></p></li>
  </ol>