Beispiel #1
0
  @Override
  @SuppressWarnings("unchecked")
  public void hide() {
    SkinManager skinManager = IMContext.getBean(SkinManager.class);
    // 取消注册皮肤管理
    skinManager.unregister(this);

    super.hide();
  }
Beispiel #2
0
  @Override
  @SuppressWarnings("unchecked")
  public void show() {
    SkinManager skinManager = IMContext.getBean(SkinManager.class);
    // 注册皮肤管理
    skinManager.register(this);
    installSkin(getSkinService());

    super.show();
  }