在第一个位置插入的项目在向上滚动之前是不可见的

Item inserted at first position is not visible until scrolling up

场景:

如何才能让第一个类型 B "automatically" 可见?

通知类型B后可以使用这行代码:

yourRecyclerView.smoothScrollToPosition(0);

仅使用 无法解决您的问题。

您需要在下一帧中调用 smoothScrollToPosition(),例如,

recyclerview.post(new Runnable() {
            @Override
            public void run() {
                 recycleview.smoothScrollToPosition(n);
            }
        });