Litepal中主键id的类型

第一次使用Litepal,习惯性的将实体类的主键id设置成了Integer类型,致使一直出错java

Activity ... did not call through to super.onPostCreate()

添加了onPostCreate方法也不行,搜素也找不到答案。code

屡次尝试以后将类的id设置成int类型就能够了。it

private int id;
相关文章
相关标签/搜索