这就是我使用Room Persistence Library将数据插入数据库的方式:. 实体: @Entity class User { @PrimaryKey(autoGenerate = true) public int id; //... }.
確定! 回上一頁