Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E/RecyclerView: No adapter attached; skipping layout #29

Open
linking123 opened this issue Dec 12, 2018 · 3 comments
Open

E/RecyclerView: No adapter attached; skipping layout #29

linking123 opened this issue Dec 12, 2018 · 3 comments

Comments

@linking123
Copy link

环境信息

  • 机型与Android版本: Nexus 5X API 28c86(Android 9,API 28)
  • 使用ZBLibrary版本:

问题描述

viewPager 中 置入 RecyclerView,发生如题错误

错误信息

E/RecyclerView: No adapter attached; skipping layout
@TommyLemon
Copy link
Owner

错误信息太少,看不到 Exception 的具体信息以及对应出错的代码行,也看不到任何和 ZBLibrary 相关的信息,具体补充下。

@zaaach
Copy link

zaaach commented Jan 18, 2019

这个错误原因是没有给RecyclerView设置adapter吧

@longpenghn
Copy link

一般是视图初始化后未给recyclerview设置adapter导致的报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants