Android 将uk.co.chrisjenx:书法更新为io.github.inflationx:calligraphy3:
我在uk.co.chrisjenx:书法:2.3.0。更新到io.github.inflationx:calligraphy3:3.1.1后,我找不到CalligraphyContextWrapper类,代码如下:Android 将uk.co.chrisjenx:书法更新为io.github.inflationx:calligraphy3:,android,calligraphy,Android,Calligraphy,我在uk.co.chrisjenx:书法:2.3.0。更新到io.github.inflationx:calligraphy3:3.1.1后,我找不到CalligraphyContextWrapper类,代码如下: protected void attachBaseContext(final Context newBase) { super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase)); }
protected void attachBaseContext(final Context newBase) {
super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
}
我怎样才能解决这个问题?
谢谢大家! 我需要使用ViewPumpContextWrapper.wrap而不是CalligraphyContextWrapper.wrap。 ViewPumpContextWrapper可以在io.github.inflationx:viewpump:2.0.3库中找到