android-kotlin-mvp-architecture icon indicating copy to clipboard operation
android-kotlin-mvp-architecture copied to clipboard

How to call onFragmentAttached

Open iomarsantos opened this issue 7 years ago • 3 comments

I have an activity and as soon as it starts I want to add a frament, how to call the onFragmentAttached method Thank you

iomarsantos avatar Oct 06 '18 16:10 iomarsantos

You can call it from the attach method.

amitshekhariitbhu avatar Oct 08 '18 03:10 amitshekhariitbhu

This call would be in the: override fun onAttach(view: V?) { super.onAttach(view) }

Could you provide an example?

iomarsantos avatar Oct 09 '18 12:10 iomarsantos

why i get Unresolved reference: onFragmentAttached()?

athasamid avatar Mar 02 '19 10:03 athasamid