4.24
- 在 Android Studio 中打开起始代码。
- 打开
com.example.inventory基础软件包下的data软件包。 - 在
data软件包内,打开ItemKotlin 类,该类表示应用中的数据库实体。
// No need to copy over, this is part of the starter code
class Item(
val id: Int,
val name: String,
val price: Double,
val quantity: Int
)
浙公网安备 33010602011771号