Changes

Jump to: navigation, search
no edit summary
<htmlet>androidstudio_a6androidstudio</htmlet>
A close inspection of the updated code for the buttonClick() method will reveal that the code to update the TextView has been removed. As previously stated, updating a user interface element from within a thread other than the main thread violates a key rule of Android development. In order to update the user interface, therefore, it will be necessary to implement a Handler for the thread.
<htmlet>androidstudio_a6androidstudio</htmlet>
== Implementing a Thread Handler ==
<htmlet>androidstudio_a6androidstudio</htmlet>

Navigation menu