RecyclerView 局部刷新(获取viewHolder 去刷新)时间:2021-07-10 23:28:51RecyclerView.ViewHolder viewHolder = mRecyclerView.findViewHolderForAdapterPosition(i); if (viewHolder != null && viewHolder instanceof ItemHolder) { ItemHolder itemHolder = (ItemHolder) itemHolder itemHolder.mButton.togglestate(); } }