Closed BluestarCo closed 2 years ago
Hi how to call setLanguage function from fragment for change language?
i have FragmentStatePagerAdapter for intro pages and i need to change language from child fragments
thanks.
Call getActivity().setLanguage(lang)
You can call (getActivity() as? LocalizationActivity)?.setLanguage(language)
(getActivity() as? LocalizationActivity)?.setLanguage(language)
Hi how to call setLanguage function from fragment for change language?
i have FragmentStatePagerAdapter for intro pages and i need to change language from child fragments
thanks.