Currently I have a list builder of search terms. I\'ve successfully inserted a custom container at every 10th element by using
if (index % 10 != 0 || index == 0)