Skip to content

Commit

Permalink
Javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Tarasov committed Oct 12, 2015
1 parent 00777e8 commit 85fe6c0
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ public static CalligraphyConfig get() {
* Class Styles. Build from DEFAULT_STYLES and the builder.
*/
private final Map<Class<? extends TextView>, 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<Class<?>> hasTypefaceViews;

protected CalligraphyConfig(Builder builder) {
Expand Down Expand Up @@ -301,7 +304,7 @@ public Builder addCustomStyle(final Class<? extends TextView> 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;
Expand Down

0 comments on commit 85fe6c0

Please sign in to comment.