code: @Deprecated
      @SuppressWarnings("unchecked")
      public static void deselect(final FastAdapter adapter) {
          adapter.recursive(new AdapterPredicate() {
              @Override
              public boolean apply(@NonNull IAdapter lastParentAdapter, int lastParentPosition, @NonNull IItem item, int position) {
                  if (position != -1) {
                      SelectExtension extension = (SelectExtension) adapter.getExtension(SelectExtension.class);
                      if (extension != null) {
                          extension.deselect(position);
                      }
                  } else {
                      item.withSetSelected(false);
                  }
                  return true;
              }
          }, false);
      }
docs: deselects all items including all subitems
  
  @param adapter the adapter instance
  @deprecated See {@link SelectExtension#deselect()} ()}