code: public void setItemFocusEnabled(boolean enabled) {
          if (enabled != mItemFocusEnabled) {
              mItemFocusEnabled = enabled;
              Log.d(Log.SUBSYSTEM.LAYOUT, TAG, "setItemFocusEnabled(%s): item focus enabled: %b",
                      getName(), enabled);
  
              for (Widget view: getAllViews()) {
                  if (view != null) {
                      view.setFocusEnabled(enabled);
                  } else {
                      Log.w(TAG, "setItemFocusEnabled(%s): Host has no view!", getName());
                  }
              }
          }
      }
docs: Sets {@linkplain Widget#setFocusEnabled(boolean) focus enabled} (or
  disabled) for all children of the {@link ListWidget} that were fetched from
  the {@link Adapter}. If this is called with {@code false}, any new items
  gotten from the {@code Adapter} will have {@code setFocusEnabled(false)}
  called on them.
  <p>
  This is a convenience method only, and the current state of focus
  enabling for each displayed item is not tracked in any way.
  {@code Adapters} should ensure that they enable or disable focus as
  appropriate for their views.
  
  @param enabled
  {@code True} to enable focus for all items, {@code false} to
  disable.