title: Recyclerview - smoothScrollToPosition to Top of list and then animate the addition of item
body: <p>I'm trying to create a <strong>Recyclerview</strong> that will scroll to the top first and then animate the addition of an item onto the recyclerview.</p>
  
  <p>This is the code I have so far:</p>
  
  <pre><code>        while (!mLayoutManager.isSmoothScrolling()) {
              mRecyclerView.smoothScrollToPosition(0);
          }
          PostList.add(0, post);
          mAdapter.notifyItemInserted(0);
          mAdapter.notifyItemRangeChanged(1, PostList.size());
  </code></pre>
  
  <p>This does scrolls to the top but the addition of the item is not animated (although it is added to the list). </p>
  
  <p>I think it is because the addition animation occurs at the same time as the <code>smoothScrollToPosition</code> animation and therefore when it has reached the top, the addition animation is already finished so we cannot see it.</p>
  
  <p>I can use a <code>Handler.postDelayed</code> to give my scroll animation some time to finish, but that is not preferable as I don't know the time that the <code>smoothScrollToPosition</code> animation will finish.</p>