Newer
Older
ToDoApp / app / src / main / java / keijumt / todoapp / MainActivity.kt
package keijumt.todoapp

import android.os.Bundle
import android.support.v4.app.Fragment
import dagger.android.AndroidInjector
import dagger.android.support.HasSupportFragmentInjector
import keijumt.todoapp.activity.BaseActivity
import keijumt.todoapp.di.Injectable

class MainActivity : BaseActivity(), HasSupportFragmentInjector, Injectable {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }

    override fun supportFragmentInjector(): AndroidInjector<Fragment> {
        return androidInjector
    }
}