Change-Language-AtRuntime
Change-Language-AtRuntime copied to clipboard
How to use this with fragments?
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.
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, [email protected] 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 https://github.com/jayakrishnan-pm/Change-Language-AtRuntime/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT7YYEWTUZNZSC764UVADDR5LTWHANCNFSM4PHPO3IA .