GalleryLayoutManager icon indicating copy to clipboard operation
GalleryLayoutManager copied to clipboard

频繁回调onLayoutChildren和item刷新问题

Open wdmzszly opened this issue 5 months ago • 0 comments

1.内部调了mCurSelectedView.setSelected()导致onLayoutChildren回调频繁 2.onLayoutChildren内部错误的逻辑导致item无法刷新 if (state.getItemCount() != 0 && !state.didStructureChange()) { if (BuildConfig.DEBUG) { Log.d(TAG, "onLayoutChildren: ignore extra layout step"); } return; }

wdmzszly avatar Sep 16 '24 09:09 wdmzszly