1.RecyclerView有scrollToPosition方法,但scrollToPosition的作用只是使item在屏幕里可见
2.正确的方法是用LayoutManager里的scrollToPositionWithOffset;
mLinearLayoutManager = new LinearLayoutManager(this);
mRecyclerView.setLayoutManager(mLinearLayoutManager);
mLinearLayoutManager.scrollToPositionWithOffset(position, 0);