Recyclerview 的No adapter attached; skipping layout解决方法

这段话的意思是recyclerview没有接收到适配器,或者没有接收到布局
1.检查是否在主线程中更新UI(Recyclerview)
2.检查是否设置LayoutManager属性和setAdapter
3.检查是否启动线程,例thread.start();

猜你喜欢

转载自blog.csdn.net/Karthus77/article/details/110938793
今日推荐