I have recently prepared a code sample that assists with the understanding of the android activities life cycle. The following video clip explains its execution.
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.