RecyclerView 使用 BaseQuickAdapter 框架时一直不能显示数据 解决

RecyclerView 使用 BaseQuickAdapter 框架时一直不能显示数据

后来发现少了 

LinearLayoutManager layoutManager = new LinearLayoutManager(this);
layoutManager.setOrientation(LinearLayoutManager.VERTICAL);
rvClass.setLayoutManager(layoutManager);

BaseQuickAdapter 使用介绍 后补。

github :https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/README-cn.md

猜你喜欢

转载自blog.csdn.net/qq_36355271/article/details/100880963
今日推荐