assuming a Fragment is part of a layout, what is called when? and when the Fragment is created dynamically?