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

LiveFragment运行崩溃 #2

Open
GramYang opened this issue Dec 17, 2017 · 1 comment
Open

LiveFragment运行崩溃 #2

GramYang opened this issue Dec 17, 2017 · 1 comment

Comments

@GramYang
Copy link

GramYang commented Dec 17, 2017

LiveFragment在加载LiveRecommendBannerSection时出现了难以理解的空指针情况然后崩溃,出错处在LiveRecommendBannerSection类的第39行:
holder.setText(R.id.tv_video_live_up, TextUtils.isEmpty(mData.owner.name) ? "未知" : mData.owner.name)

由于mData中的结构已经大幅度改变了,因此将mData.owner.name替换成mData.title即可

@yoyiyi
Copy link
Owner

yoyiyi commented Dec 17, 2017

对的,b站接口变了,我也没改。。

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

2 participants