Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在意图中发送一个活动的android对象,但我发现它不可序列化。我想我可以发送 mId(getId() 返回的内容),并在新活动中选择记录。但是,如何使用 mId 选择项目? PS这个数据库暂时没有主键
我通过查看 Model 的源代码找到了答案。数据库对象可以通过函数 load() 获取;