code: @NonNull
      protected BaseAdapter getRootAdapter() {
          BaseAdapter adapter = mDecoratedBaseAdapter;
          while (adapter instanceof BaseAdapterDecorator) {
              adapter = ((BaseAdapterDecorator) adapter).getDecoratedBaseAdapter();
          }
          return adapter;
      }
docs: Returns the root {@link android.widget.BaseAdapter} this {@code BaseAdapterDecorator} decorates.