if (intRowIndex < fromRowIndex || intRowIndex >= fromRowIndex + rowCount)
continue;
intRowIndex -= fromRowIndex;
rowIndex = intRowIndex;
}
NodeInfo expansionData = entry.getValue();
boolean nodeHasChildren = expansionData.getNodeHasChildren();
Object childCount = nodeHasChildren
? (expansionData.getChildrenPreloaded() ? String.valueOf(expansionData.getChildNodeCount()) : "?")
: 0;
try {
result.put(String.valueOf(rowIndex), childCount);
} catch (JSONException e) {
throw new RuntimeException(e);