Introduction - If you have any usage issues, please Google them yourself
Andrews observer mode to achieve, the environment in the first java achieve its function, for those who want to understand the use of Android is a good observer pattern identification.