Skip to content

Commit

Permalink
lists
Browse files Browse the repository at this point in the history
Signed-off-by: Julio Jimenez <[email protected]>
  • Loading branch information
juliojimenez committed Mar 18, 2024
1 parent dc28fa8 commit 0ff8c60
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ Each example runs on a different port. Run multiple examples simultaneously and
### Chapter 11

- Introduction To HXML
- [Hello World]()
- [Hello World](./chapter-11/1-hello-world)
- UI Elements
- [Lists](./chapter-11/2-ui-elements-lists)

## Support

Expand Down
21 changes: 21 additions & 0 deletions chapter-11/2-ui-elements-lists/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<doc xmlns="https://hyperview.org/hyperview">
<screen>
<styles />
<body>
<header>
<text>My first app</text>
</header>
<view>
<text>Hello World!</text>
<list>
<item key="item1">
<text>My first item</text>
</item>
<item key="item2">
<text>My second item</text>
</item>
</list>
</view>
</body>
</screen>
</doc>

0 comments on commit 0ff8c60

Please sign in to comment.