Add `hideIfEmpty` option to BaseCollectionView