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