ITeye博客

Android 无法加载fragment的问题

zhouxiaoli521 · 2013-06-17 14:42 · Android · 移动开发 · Markdown

在项目中继承了fragment 重写了构造函数

make sure class name exists, is public, and has an empty constructor that is public

 加载过程中报错

去表构造就好了

http://stackoverflow.com/questions/10450348/do-fragments-really-need-an-empty-constructor

http://stackoverflow.com/questions/7016632/unable-to-instantiate-fragment

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。