This is an implementation of the Code given by Ravi Tamada at www.androidhive.info into fragments.