onAttachedToWindow () 和 onDetachedFromWindow () (转) 原文地址:http://blog.sina.com.cn/s/blog_74c22b2101012urv.html