(args: observable.EventData)
| 22 | } |
| 23 | var i = 0; |
| 24 | export function buttonTap(args: observable.EventData) { |
| 25 | currentPage.actionBar.title = 'hi ' + i++; |
| 26 | |
| 27 | if (currentPage.actionBar.android) { |
| 28 | if (i % 3 === 0) { |
| 29 | currentPage.actionBar.android.icon = 'res://ic_test'; |
| 30 | } else if (i % 3 === 1) { |
| 31 | currentPage.actionBar.android.icon = '~/assets/test-icon.png'; |
| 32 | } else if (i % 3 === 2) { |
| 33 | currentPage.actionBar.android.icon = undefined; |
| 34 | } |
| 35 | } |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected