java - What happens after onClick is finished. Android -
in app after press on screen button. in listener check see if win. when win set boolean so:
button.setonclicklistener( new view.onclicklistener() { @override public void onclick(view view) { /** check things **/ awin = true; } }
i wondering. code go after onclick. suppose phone call function in onclick?
i have looked everywhere answer, new android programming.
if "the function" mean funcion have developed, yes, should phone call whatever function want execute in onclick method.
for example:
button.setonclicklistener( new view.onclicklistener() { @override public void onclick(view view) { /** check things **/ awin = true; //example this.informuser(awin) //call function here } }
if "the funcion" mean onclick, no, shouldn't phone call it, android os should you.
java android
No comments:
Post a Comment