code: private void setupHost(ListItemHostWidget host, Widget view, final int dataIndex) {
          boolean selected = setupView(view, dataIndex);
          host.setGuest(view, dataIndex);
          host.setSelected(selected);
          host.requestLayout();
  
          if (mContent.getChildren().contains(host)) {
              Log.d(Log.SUBSYSTEM.LAYOUT, TAG, "setupItem(%s): added item(%s) at dataIndex [%d]",
                      getName(), view.getName(), dataIndex);
          } else {
              Log.d(Log.SUBSYSTEM.LAYOUT, TAG, "setupItem(%s): reuse item(%s) at dataIndex [%d]",
                      getName(), view.getName(), dataIndex);
          }
      }
docs: Set up the view at specified position in {@link Adapter}
  @param dataIndex position in {@link Adapter} associated with this layout.
  @return host view