Refactor out ListViewUtils.