(args)
| 32 | } |
| 33 | |
| 34 | export function pageLoaded(args) { |
| 35 | startFPSMeter(); |
| 36 | if (loaded) { |
| 37 | fpsLabel = null; |
| 38 | // stopFPSMeter(); |
| 39 | timeouts.forEach((v) => clearTimeout(v)); |
| 40 | intervals.forEach((v) => clearInterval(v)); |
| 41 | reusableItem._tearDownUI(true); |
| 42 | } |
| 43 | loaded = true; |
| 44 | reusableItem = args.object.getViewById('reusableItem'); |
| 45 | vcToggle = args.object.getViewById('vcToggle'); |
| 46 | updateVcToggleText(); |
| 47 | fpsLabel = args.object.getViewById('fpslabel'); |
| 48 | const stack1: StackLayout = args.object.getViewById('stack1'); |
| 49 | const stack2: StackLayout = args.object.getViewById('stack2'); |
| 50 | setTimeout(() => { |
| 51 | // label.android.setTextColor(new Color("red").android); |
| 52 | // label.android.setBackgroundColor(new Color("red").android); |
| 53 | startFPSMeter(); |
| 54 | console.log('setRed'); |
| 55 | }, 1000); |
| 56 | // console.log(label._context); |
| 57 | // isIn1 = false; |
| 58 | // timeouts.push(setTimeout(() => { |
| 59 | // intervals.push(setInterval(() => { |
| 60 | // label.parent.removeChild(label); |
| 61 | // // console.log(label.nativeView); |
| 62 | // if(isIn1) { |
| 63 | // isIn1 = false; |
| 64 | // stack2.addChild(label); |
| 65 | // } else { |
| 66 | // isIn1 = true; |
| 67 | // stack1.addChild(label); |
| 68 | // } |
| 69 | // }, 10)); |
| 70 | // }, 1001)); |
| 71 | } |
| 72 | |
| 73 | export function pageUnloaded(args) { |
| 74 | // |
nothing calls this directly
no test coverage detected