Code for the Android Fragment LifeCycle In Detail blog post