《第一行代码》6.4节,主要练习的是数据库的增删改查操作,结果通过之前的 ListView 控件展示,GIT 版本后,再打算用 RecycleView 实现一遍,算是温习。
遇到的问题
1.活动之间传递 List<Book> 数据时报错问题,需要序列化
Parcel: unable to marshal value com.example.databasetest
解决方法见 https://blog.csdn.net/guange99/article/details/40537799
2.TextView.setText() 设置显示数据问题
Resources$NotFoundException: String resource ID
解决方法见 https://blog.csdn.net/qq_37077360/article/details/86509131
还有一篇讲解的比较深,但我目前看不懂