Sample code showing how to use the ResidetFragment.