InflationX / Calligraphy

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

Use custom reflection utils rather than depend on viewpump internals #24

Closed ZacSweers closed 5 years ago

ZacSweers commented 5 years ago

Resolves #22 Resolves #19

rraallvv commented 5 years ago

So, can Calligraphy be used without ViewPump? How?

ZacSweers commented 5 years ago

@rraallvv not calligraphy 3. Why?

chrisjenx commented 5 years ago

@rraallvv Calligraphy 3, uses ViewPump as the underlying inflation mechanism, Calligraphy 2 was split out to ViewPump and Calligraphy 3, it's about the same amount of code just more intercept-able.

rraallvv commented 5 years ago

@ZacSweers, maybe it's just me after a long day of trying all sorts of workarounds to load customs fonts on Lollipop, but it seems that less dependencies would make the solution less prone to failures an simple, at least when it comes to integrating the library in my app.

rraallvv commented 5 years ago

@chrisjenx thanks, I'll give it a try.