NineWorlds/serenity-android — pull request #214 by alonalbert (2014-02-03 19:05:40+00:00)
Title: Optimize adapters

Most adapters were not recycling views. This may help performance a bit.

Note that there may be side effects to this change. When recycling a view, one must make sure he initializes all aspects of the view properly. They have been changed by the previous use of the view. My familiarity with the various adapters and where they are used is limited so I wasn't able to test this thoroughly.

It appears Gallery doesn't recycle views but I think it's worth having a proper pattern in case it code gets refactored later to use some other component.