Android lifecycle

Is it compulsory to write oncreate, onstart, on resume, on stop and on destroy methode in every main activity.