Tencent / Shadow

零反射全动态Android插件框架
BSD 3-Clause "New" or "Revised" License
7.45k stars 1.3k forks source link

使用dialogfragment时没有动画效果 #332

Closed victorwrage closed 6 months ago

victorwrage commented 4 years ago

`public void onResume() { Window window = getDialog().getWindow();

    window.setWindowAnimations(getAnimationStyle());
    super.onResume();
}

protected abstract int getAnimationStyle();`

这样没有动画效果,请问我该怎么改

shifujun commented 4 years ago

请参考 https://github.com/Tencent/Shadow/blob/master/CONTRIBUTING.md#issue 提供一个能运行的例子。这样做是为了节约时间,我这边不是全职在维护项目。

shifujun commented 4 years ago

研究了一下这个问题,看起来暂时没什么办法支持。详见commit message。