When I am trying to display a text in EditText using setText() method the EditText view is displayed after the execution of function succeeding the setText() method call. Why?
When I am trying to display a text in EditText using setText() method the
Share
Put long running code in seperate thread so that it does not tieup the application that calls it.Updates to the UI can only happen once your code returns from onCreate and anything that is executed in the UI thread.