Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lwc:programming:mobile:android:runnable [2022/02/23 15:28] – created John Harrison | lwc:programming:mobile:android:runnable [2022/02/23 15:31] (current) – John Harrison | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| public void run(){ | public void run(){ | ||
| - | System.out.println(" | + | Log.v(" |
| } | } | ||
| } | } | ||
| </ | </ | ||
| - | The interface takes no parameters and returns no parameters. | + | The interface takes no parameters and returns no parameters. When started it will run whatever magical stuff you put in the '' |
| You can create a runnable so you have something to send on a separate thread. You don't need a runnable to do it, it's just standard convention everybody seems to have agreed upon. | You can create a runnable so you have something to send on a separate thread. You don't need a runnable to do it, it's just standard convention everybody seems to have agreed upon. | ||
| Line 40: | Line 40: | ||
| </ | </ | ||
| - | //Borrowed and reworded from [[http:// | + | //Borrowed and reworded from [[http:// |