There are multiple good constructors and Room will pick the no-arg constructor. How to solve this warning
I try to implement Room Persistent Database library in android kotlin project, but catch this warning at compile time. I don't know how to solve this warring.
warning: There are multiple good constructors and Room will pick the
no-arg constructor. You can use the @Ignore annotation to eliminate
unwanted constructors.
Auto Generated Class
public final class Gender {
^
Kotlin Data Class
import android.arch.persistence.room.Entity
import...