You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes this can be used in the app UI built using fragments.
I dont remember the code you refered but onAttach is the event when a
fragment is attached to the Activity or become part of the activity.
After that we get activity instance by calling getActivity(); from fragment.
On Sat, 25 Jul 2020, 19:57 BdR76, ***@***.***> wrote:
Is it possible to use this in an app that uses fragments? If so how, can
you add comment or example to the code?
Also, what is the purpose of the onAttach functions? The example project
doesn't seem to make use of them.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABT7YYEWTUZNZSC764UVADDR5LTWHANCNFSM4PHPO3IA>
.
Is it possible to use this in an app that uses fragments? If so how, can you add comment or example to the code?
Also, what is the purpose of the
onAttach
functions? The example project doesn't seem to make use of them.The text was updated successfully, but these errors were encountered: