trbnb / MvvmBase

Apache License 2.0
15 stars 7 forks source link

Android X fragment onAttach #13

Closed apm-christian-dziuba closed 5 years ago

apm-christian-dziuba commented 5 years ago

the onAttach(context: Context?) changed to onAttach(@NonNull context: Context)

During compiling the app every fragment throws the following error:

Accidental override: The following declarations have the same JVM signature (onAttach(Landroid/content/Context;)V): fun onAttach(p0: Context): Unit defined in de.appmotion.baseapp.gui.MyFragment fun onAttach(context: Context?): Unit defined in de.appmotion.baseapp.gui.MyFragment

trbnb commented 5 years ago

Fixed and released with 1.3.0.