// TUIGroupConfigMinimalist.javapublic static final int MUTE_AND_PIN = 1; public static final int MANAGE = 2; public static final int ALIAS = 3; public static final int BACKGROUND = 4; public static final int MEMBERS = 5; public static final int CLEAR_CHAT_HISTORY = 6; public static final int DELETE_AND_LEAVE = 7; public static final int TRANSFER = 8; public static final int DISMISS = 9; @IntDef({MUTE_AND_PIN, MANAGE, ALIAS, BACKGROUND, MEMBERS, CLEAR_CHAT_HISTORY, DELETE_AND_LEAVE, TRANSFER, DISMISS}) public @interface Items {}/*** Hide items in group config interface.*/public static void hideItemsInGroupConfig(@Items int... items)
// When to call: Before initializing group setting interface.TUIGroupConfigMinimalist.hideItemsInGroupConfig(TUIGroupConfigMinimalist.MUTE_AND_PIN,TUIGroupConfigMinimalist.MANAGE);
隐藏部分选项 | 隐藏全部选项 | 默认 |
| | |
本页内容是否解决了您的问题?