// TUIConfigMinimalist.java/*** Switch the language of TUIKit.* The currently supported languages are "en", "zh", and "ar".*/public static void switchLanguageToTarget(Context context, String targetLanguage)
// When to call: In the application initialization phase.TUIConfigMinimalist.switchLanguageToTarget(context, "en");
Set to English | Set to Arabic |
| |
// TUIConfigMinimalist.java/*** Show the toast prompt built in TUIKit.* The default value is true.*/public static void enableToast(boolean enableToast)
// When to call: Before initializing the TUIKit interface.TUIConfigMinimalist.enableToast(false);
Enable Toast Prompts | Disable Toast Prompts |
| |
Was this page helpful?