android-mvp-architecture icon indicating copy to clipboard operation
android-mvp-architecture copied to clipboard

Missing DaoMaster

Open adriamt opened this issue 6 years ago • 1 comments

Hi, first of all, thanks for this example, I'm trying to build an App using this example.

I'll use a local DB so I'm using what you build with Greendao but I'm facing problems with your DaoMaster class. In your DbOpenHelper.java you use a class called DaoMaster located on your model package (as your import says)

import com.mindorks.framework.mvp.data.db.model.DaoMaster;

But there isn't such class in your model package. The same goes for DaoSession class. Could you provide these two files?

Thanks

adriamt avatar Apr 24 '18 18:04 adriamt

@adriamt These two classes are generated by annotation processor when you build your project. Clean and rebuild your project. You will find these classes under the build->generated->source->apt

janishar avatar Apr 25 '18 06:04 janishar