chrisjenx / Calligraphy

Custom fonts in Android the easy way...
Apache License 2.0
8.59k stars 1.1k forks source link

Unresolved reference: fontPath #471

Closed MahdiFarzami closed 5 years ago

MahdiFarzami commented 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'

chrisjenx commented 5 years ago

Calligraphy3 is a fork of this for ViewPump. Head over to the examples over there.

Cob007 commented 4 years ago

@chrisjenx Please how can I resolve this problem in my kotlin project

iceberg1369 commented 3 years ago

I have the same issue