Added the demo for Fragment.