Button OnClick Event Android
<p>I have a code which is running in the onCreate method of the activity.I even have a button on my screen on click of which some code runs.</p>

<p>I want to know what happens to the code that is running in oncreate method when we click the button. It stops the execution of the currently running code and first executes the code inside onClick method? or what What will be the flow of execution?</p>
