docs: public final void setAdapter(@Nullable final ExpandableListAdapter adapter) {
          expandedGroups.clear();
  
          if (adapter != null) {
              this.adapter = new AdapterWrapper(adapter);
              super.setAdapter(this.adapter);
          } else {
              this.adapter = null;
              super.setAdapter(null);
          }
      }