Newer
Older
ToDoApp / app / src / main / java / keijumt / todoapp / BaseActivity.kt
KeijuMatsumoto on 6 Mar 2018 513 bytes [Clean] packages
package keijumt.todoapp

import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import dagger.android.DispatchingAndroidInjector
import keijumt.todoapp.di.ViewModelFactory
import javax.inject.Inject

/**
 * Activityの基底クラス
 * Created by matsumoto_k on 2018/03/06.
 */
abstract class BaseActivity : AppCompatActivity() {

    @Inject
    lateinit var androidInjector: DispatchingAndroidInjector<Fragment>

    @Inject
    lateinit var viewModelFactory: ViewModelFactory
}