code: private void adaptItemColor() {
          if (adapter != null) {
              RecyclerView.Adapter<?> wrappedAdapter = adapter.getWrappedAdapter();
  
              if (wrappedAdapter instanceof ArrayRecyclerViewAdapter) {
                  ((ArrayRecyclerViewAdapter) wrappedAdapter).setItemColor(itemColor);
              }
          }
      }
docs: Adapts the color of the dialog's list items.