android-kotlin-mvp-architecture
android-kotlin-mvp-architecture copied to clipboard
How to call onFragmentAttached
I have an activity and as soon as it starts I want to add a frament, how to call the onFragmentAttached method Thank you
You can call it from the attach method.
This call would be in the: override fun onAttach(view: V?) { super.onAttach(view) }
Could you provide an example?
why i get Unresolved reference: onFragmentAttached()
?