增加了针对事件面板的展示隐藏接口调用

This commit is contained in:
董宏宇
2020-11-16 11:26:22 +08:00
parent eef9999556
commit 3d27dbd5d0
2 changed files with 20 additions and 0 deletions

View File

@@ -99,4 +99,14 @@ public class V2XEventPanelModuleProvider implements
public void showPanelWithSelectedItem(int item) {
V2XEventPanelFragment.Companion.getInstance().showPanelWithSelectedItem(item);
}
@Override
public void showPanel() {
V2XEventPanelFragment.Companion.getInstance().showPanel();
}
@Override
public void hidePanel() {
V2XEventPanelFragment.Companion.getInstance().hidePanel();
}
}

View File

@@ -14,4 +14,14 @@ public interface IEventPanelProvider extends IMogoModuleProvider {
*/
void showPanelWithSelectedItem(int item);
/**
* 显示面板,默认选中第一个
*/
void showPanel();
/**
* 隐藏面板
*/
void hidePanel();
}