public U setTypeface(Typeface typeface) {
        textView.setTypeface(typeface);
        return (U)this;
    }
This method tests the adapter to make sure that it implements the needed interface.

@param adapter The adapter of the attached {@link RecyclerView}.
lib/src/main/java/com/turingtechnologies/materialscrollbar/Indicator.java