Auto assign item-view and empty-view if available