开发过程当中发现RecyclerView.getChildAt(position)为空的状况,可是明明这个position却没有越界。开发
解决办法:用recycler.getLayoutManager().findViewByPosition()替换就能够了get
记录一下,给后人乘凉it