I am using Room architecture component for persistence. I have created generic DAO interface to avoid boilerplate code. Room Pro Tips
But my code doesn\'t compile s
I believe is that you have missed to give Entity annotation to T class. For example Reason class should have @Entity and give it to ReasonDao class. Like:
Entity
Reason
@Entity
@Dao public abstract class ReasonDao extends BaseDao{}