I am upgrading to Calligraphy because my android app is crashing for android 10 and it was related to this library.
I added the two lines for the updated Calligraphy and Viewpump library. and Gradle sync succeeds.
when I add the below code in MyApplication.java,
ViewPump.init(ViewPump.builder()
.addInterceptor(new CalligraphyInterceptor(
new CalligraphyConfig().Builder()
.setDefaultFontPath("fonts/HelveticaNeueLTStd_R.otf")
.setFontAttrId(R.attr.fontPath)
.build()))
.build());
I get this error:
CalligraphyConfig(io.github.inflationx.calligraphy3.CalligraphyConfig.Builder)' has private access in 'io.github.inflationx.calligraphy3.CalligraphyConfig
How can we config the default font? and what I am doing wrong?
Please help asap! Our App live is keeping a crash from this issue.
Hello,
I am upgrading to Calligraphy because my android app is crashing for android 10 and it was related to this library.
I added the two lines for the updated Calligraphy and Viewpump library. and Gradle sync succeeds.
when I add the below code in MyApplication.java,
I get this error:
How can we config the default font? and what I am doing wrong?
Please help asap! Our App live is keeping a crash from this issue.