code: @BindingAdapter("bind:tv_typeface")
      public static void setCustomTypeface(TypefaceTextView textView, String type) {
          textView.mCurrentTypeface = TypefaceType.getTypeface(type != null ? type : "");
          Typeface typeface = getFont(textView.getContext(), textView.mCurrentTypeface.getAssetFileName());
          textView.setTypeface(typeface);
      }
docs: Data-binding method for custom attribute bind:tv_typeface to be set
  @param textView The instance of the object to set value on
  @param type The string name of the typeface, same as in xml