ListView inside Fragment coded.General code refactoring.