Android Build an Interactive Story App Intents and Multiple Activities Getting Text from an EditText

Tathagat Joshi
Tathagat Joshi
35 Points

You have your code everything (onclick, namefield etc) inside onCreate method. Can we put outside onCreate and why?

You have your code be it (onclick method, namefield etc) everything inside onCreate method. Can we put this code outside onCreate and why? And what are advantages and disadvantage of placing it outside or inside onCreate method?

Thanks!