You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void setTypeface(@Nullable Typeface typeface) {
if (typeface != mTypeface) {
mTypeface = typeface;
mCollapsingTextHelper.setTypefaces(typeface);
if (mCounterView != null) {
mCounterView.setTypeface(typeface);
}
if (mErrorView != null) {
mErrorView.setTypeface(typeface);
}
}
}
/**
* Returns the typeface used for the hint and any label views (such as counter and error views).
*/
@NonNull
public Typeface getTypeface() {
return mTypeface;
}
Version number
25.1.0
The text was updated successfully, but these errors were encountered:
Overview
The setter for typeface is annotated with
@Nullable
, and the getter is@NonNull
. One or the other is wrong.Currently, the getter does return null.
You can see the problem pretty easily ...
Version number
The text was updated successfully, but these errors were encountered: