void selectVisibleItemsToShow() {
    if (myItems.isEmpty()) {
      if (myVisibleIds != null && myVisibleIds.length > 0) {
        synchronized (this) {
          NST.selectItemsToShow(myNativePeer, null, 0);
        }
      }
      myVisibleIds = null;
      return;
    }

    String[] ids = myItems.getVisibleIds();
    if (Arrays.equals(ids, myVisibleIds)) {
      return;
    }

    myVisibleIds = ids;
    synchronized (this) {
      NST.selectItemsToShow(myNativePeer, ids, ids.length);
    }
  }
void selectVisibleItemsToShow()