Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call onFragmentAttached #23

Open
IomarSantos opened this issue Oct 6, 2018 · 3 comments
Open

How to call onFragmentAttached #23

IomarSantos opened this issue Oct 6, 2018 · 3 comments

Comments

@IomarSantos
Copy link

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

@amitshekhariitbhu
Copy link
Contributor

amitshekhariitbhu commented Oct 8, 2018

You can call it from the attach method.

@IomarSantos
Copy link
Author

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

Could you provide an example?

@athasamid
Copy link

why i get Unresolved reference: onFragmentAttached()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants