Hi everyone I have a problem whit DaggerAppCompatA...
# android
s
Hi everyone I have a problem whit DaggerAppCompatActivity and Binding, They are not compatible? I have this error :
Caused by: java.lang.IllegalArgumentException: View is not a binding layout. Tag: layout/activity_movie_0
but only with DaggerAppCompatActivity
d
In my Android codebase (a bit dated now) I just do:
Copy code
override fun onCreate(savedInstanceState: Bundle?) {
    AndroidInjection.inject(this)
­čĹŹ 1
And inherit from:
Copy code
abstract class ScopedAppActivity : AppCompatActivity(), CoroutineScope {
...
Looks like I need to update my coroutines... ah well I hope you get a better answer ­čÖé
s
Thank you.