[sample] Vary layout params based on item ID instead of position