(template: string)
| 92 | } |
| 93 | |
| 94 | let getViews = (template: string) => { |
| 95 | let root = Builder.parse(template); |
| 96 | |
| 97 | return { |
| 98 | root, |
| 99 | flexbox: root.getViewById('flexbox') as FlexboxLayout, |
| 100 | text1: root.getViewById('text1') as Label, |
| 101 | text2: root.getViewById('text2') as Label, |
| 102 | text3: root.getViewById('text3') as Label, |
| 103 | text4: root.getViewById('text4') as Label, |
| 104 | text5: root.getViewById('text5') as Label, |
| 105 | }; |
| 106 | }; |
| 107 | |
| 108 | let activity_flex_wrap = () => |
| 109 | getViews( |
no test coverage detected