Skip to content

1.0.5

Compare
Choose a tag to compare
@JessYanCoding JessYanCoding released this 30 Oct 11:01
· 72 commits to master since this release

1.增加 onAdaptListener 接口,可监听屏幕适配时的一些事件

AutoSizeConfig.getInstance()..setOnAdaptListener(new onAdaptListener() {
                    @Override
                    public void onAdaptBefore(Object target, Activity activity) {
                        LogUtils.d(String.format(Locale.ENGLISH, "%s onAdaptBefore!", target.getClass().getName()));
                    }

                    @Override
                    public void onAdaptAfter(Object target, Activity activity) {
                        LogUtils.d(String.format(Locale.ENGLISH, "%s onAdaptAfter!", target.getClass().getName()));
                    }
                });