RecyclerView 局部刷新(获取viewHolder 去刷新)
RecyclerView.ViewHolder viewHolder = mRecyclerView.findViewHolderForAdapterPosition(i); if (viewHolder != null && viewHolder instanceof ItemHolder) { ItemHolder itemHolder = (ItemHolder) itemHolder itemHolder.mButton.togglestate(); } }