diff --git a/calligraphy/src/main/java/uk/co/chrisjenx/calligraphy/CalligraphyConfig.java b/calligraphy/src/main/java/uk/co/chrisjenx/calligraphy/CalligraphyConfig.java index d40ab69..45e2ac7 100644 --- a/calligraphy/src/main/java/uk/co/chrisjenx/calligraphy/CalligraphyConfig.java +++ b/calligraphy/src/main/java/uk/co/chrisjenx/calligraphy/CalligraphyConfig.java @@ -111,7 +111,10 @@ public static CalligraphyConfig get() { * Class Styles. Build from DEFAULT_STYLES and the builder. */ private final Map, Integer> mClassStyleAttributeMap; - + /** + * Collection of custom non-{@code TextView}'s registered for applying typeface during inflation + * @see uk.co.chrisjenx.calligraphy.CalligraphyConfig.Builder#addCustomViewWithSetTypeface(Class) + */ private final Set> hasTypefaceViews; protected CalligraphyConfig(Builder builder) { @@ -301,7 +304,7 @@ public Builder addCustomStyle(final Class styleClass, final } /** - * Registering custom view with setTypeface method to apply typeface during inflation via reflection + * Register custom non-{@code TextView}'s which implement {@code setTypeface} so they can have the Typeface applied during inflation. */ public Builder addCustomViewWithSetTypeface(Class clazz) { customViewTypefaceSupport = true;