Closed MahdiFarzami closed 5 years ago
ViewPump.init( ViewPump.builder() .addInterceptor( CalligraphyInterceptor( CalligraphyConfig.Builder() .setDefaultFontPath(FONTS_ASSET_PATH + FONT_NAME_REGULAR) .setFontAttrId(R.attr.fontPath) .build() ) ) .build() The R.attr.fontPath not resolve.
Library using implementation 'io.github.inflationx:calligraphy3:3.1.1'
Calligraphy3 is a fork of this for ViewPump. Head over to the examples over there.
@chrisjenx Please how can I resolve this problem in my kotlin project
I have the same issue
ViewPump.init( ViewPump.builder() .addInterceptor( CalligraphyInterceptor( CalligraphyConfig.Builder() .setDefaultFontPath(FONTS_ASSET_PATH + FONT_NAME_REGULAR) .setFontAttrId(R.attr.fontPath) .build() ) ) .build() The R.attr.fontPath not resolve.
Library using implementation 'io.github.inflationx:calligraphy3:3.1.1'