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

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

    super.show();
  }