We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application 里面配置了 Slog.DEBUG = true; SkinCompatManager.withoutActivity(mInstance).loadSkin();//换肤
BaseActivity extends AppCompatActivity 重写了 @nonnull @OverRide public AppCompatDelegate getDelegate() { return SkinAppCompatDelegateImpl.get(this, this); }
执行: SkinCompatManager.getInstance().loadSkin("night.skin", SkinCompatManager.SKIN_LOADER_STRATEGY_ASSETS);
回调方法里面执行了onStrat -> onSuccess 但是换肤就是不成功,没有任何效果。也没有看到log相关日志之类的。 项目维护,不知道动了哪个地方,之前的night.skin 是确保没有问题的。
求大佬帮助啊~ 无法定位问题
The text was updated successfully, but these errors were encountered:
你的问题解决了么,我也遇到了同样的问题
Sorry, something went wrong.
文档中没有写到用 extends SkinCompatActivity 我尝试了通过继承SkinCompat 解决了换肤的问题,具体原因不清楚
排查加载路径问题,试了很久,发现即使路径出了文件它也不报错
No branches or pull requests
Application 里面配置了
Slog.DEBUG = true;
SkinCompatManager.withoutActivity(mInstance).loadSkin();//换肤
BaseActivity extends AppCompatActivity
重写了
@nonnull
@OverRide
public AppCompatDelegate getDelegate() {
return SkinAppCompatDelegateImpl.get(this, this);
}
执行:
SkinCompatManager.getInstance().loadSkin("night.skin", SkinCompatManager.SKIN_LOADER_STRATEGY_ASSETS);
回调方法里面执行了onStrat -> onSuccess
但是换肤就是不成功,没有任何效果。也没有看到log相关日志之类的。
项目维护,不知道动了哪个地方,之前的night.skin 是确保没有问题的。
求大佬帮助啊~ 无法定位问题
The text was updated successfully, but these errors were encountered: