Test some design patterns in android