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 6 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