setting text to editfield by a button click

setting text to editfield by a button click

BY 28 Oct 2013 Native Application Development

my requirement is to set some text to edit field when a button is clicked .
in onActionPerformed() i handled the event like as below
eidt1.SetText(“new text”);
but when i click the button the change is not reflected immediately , change had taken place when i clicked editfield after clicking the button.
plaese guide me if i was wrong  

Written by