code: public static void apply(@NonNull View view) {
          if (view.isInEditMode()) {
              return;
          }
  
          final AssetManager assets = view.getContext().getAssets();
          if (view instanceof TextView) {
              setTypeface((TextView) view, getFontFromTag(assets, view, false));
          } else if (view instanceof ViewGroup) {
              applyAllRecursively((ViewGroup) view, assets);
          }
      }
docs: If view is instance of ViewGroup then applies fonts to all TextView views in given
  ViewGroup.<br/>
  If view is instance of TextView then applies font to provided TextView.<br/>
  TextView tag will be used to determine the font.