Closed ImagineYao closed 2 years ago
@Insert fun addPerson(person: Person): Completable @Delete fun deletePerson(person: Person): Completable
I want to use Transaction to combine this two methods, but I get a compile error: java.lang.reflect.InvocationTargetException . How can I correct it?
I want to use Transaction to combine this two methods, but I get a compile error: java.lang.reflect.InvocationTargetException . How can I correct it?