A few people who've worked with me in a programming job may have heard me talk about how a custom list should be done. For performance reasons you don't want to recreate the visual "cell" n-times. That could lead to all sorts of unforeseen problems. Instead you want only enough cells to be visual during scrolling and as you scroll through the list just bring the "cells" round to the other side. One of the people I work with, Alec McEachran, wrote a blog post on just this topic. It is entitled "A Simple List" and I'll let you read his article and code on the subject. What is interesting about his code for a list is he does a great job keeping the list class very simple. It keeps to a pretty narrow responsibility. He's quite good at solutions with well defined class responsibilities.
In our current project, Monster Galaxy, we have used this code in a few places. It has been modified for our purposes but at the base level described in his article the code makes custom list designs easy to implement.
Alec is a very intelligent programmer and has some other great articles on his blog. If you like what you read there you might also like to follow him on twitter (@alecmce). Of course, his twitter feed carries a lot more of his opinions and personality. It's quite fun though, I promise ;)
Of course, I have a blog as well which you are reading now and thank you for that. If you haven't done so already, follow me on twitter( @diacre ) to find out about new blog posts as well as my opinions and personality ( which you may or may not find as colorful as Alec's ). Please let me know in the comments what you think of Alec's list class. If you have a different solution that you like I'd love to hear that as well. Until next time...au revoir.