Android-recyclerview嵌套recyclerview(GridLayout),保持内层item的选中状态
项目需要实现一个功能效果,要保持被选中条目的选中状态,其余的都保持未被选中的状态:如图:接收人下面是一个recyclerview(外层):布局文件:外层Recyclerview的Adapter布局:adapter_receivertitile然后内层recyclerview的adapter布局:adapter_grid_receiver下面上代码:mRecyclerView.setLayoutMa