Updates. Switched CardAdapter to using SparseIntArray instead of a HashMap for storing registered layouts to improve performance.