janishar / android-mvp-architecture

This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView
https://janisharali.com
Apache License 2.0
4.44k stars 1.24k forks source link

Missing DaoMaster #69

Open adriamt opened 6 years ago

adriamt commented 6 years ago

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

janishar commented 6 years ago

@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