Open wangdadao2012 opened 11 months ago
像这种表结构 class Category() { .... var parent: Category? = null var children = mutableListOf<Category>() } 保存的时候报错: java.util.ArrayList cannot be cast to org.litepal.crud.LitePalSupport 对数据库不太熟,是我使用方式不对吗?3.2.3版本
class Category() { .... var parent: Category? = null var children = mutableListOf<Category>() }
java.util.ArrayList cannot be cast to org.litepal.crud.LitePalSupport
像这种表结构
class Category() { .... var parent: Category? = null var children = mutableListOf<Category>() }
保存的时候报错:java.util.ArrayList cannot be cast to org.litepal.crud.LitePalSupport
对数据库不太熟,是我使用方式不对吗?3.2.3版本