set item count on setAdapter, without this widget doesn't layout on setAdapter
merge conflict