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