Migrate "room" from "kapt" to "ksp" (#3777)
- Add ksp plugin - Switch room to use ksp instead of kapt - `ArrayList` -> `List` in a few places to fix errors about unbound generics
This commit is contained in:
parent
1f7a5f626d
commit
25376170c2
7 changed files with 12 additions and 13 deletions
|
|
@ -102,8 +102,8 @@ class Converters @Inject constructor(
|
|||
}
|
||||
|
||||
@TypeConverter
|
||||
fun jsonToAttachmentList(attachmentListJson: String?): ArrayList<Attachment>? {
|
||||
return gson.fromJson(attachmentListJson, object : TypeToken<ArrayList<Attachment>>() {}.type)
|
||||
fun jsonToAttachmentList(attachmentListJson: String?): List<Attachment>? {
|
||||
return gson.fromJson(attachmentListJson, object : TypeToken<List<Attachment>>() {}.type)
|
||||
}
|
||||
|
||||
@TypeConverter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue