Skip to content

Commit 3dedba4

Browse files
authored
Update readme file.
1 parent b94d487 commit 3dedba4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ public class UsersViewModel : IBindableContext
10781078
}
10791079
```
10801080

1081-
Create a `UsersView` as follows.
1081+
Now we need to provide an item template for the `UserItemViewModel`. Create a `UsersView` as follows.
10821082

10831083
```csharp
10841084
public class UsersView : DocumentView<UsersViewModel>
@@ -1095,6 +1095,15 @@ public class UsersView : DocumentView<UsersViewModel>
10951095
}
10961096
```
10971097

1098+
Starting with Unity 2023, you can select an ItemTemplate directly in the UI Builder.
1099+
1100+
<details><summary>UI Builder Inspector</summary>
1101+
<br />
1102+
1103+
![collection-item-template](https://github.com/LibraStack/UnityMvvmToolkit/assets/28132516/2dba3a31-7ca9-45c3-a704-5f847262449c)
1104+
1105+
</details>
1106+
10981107
Finally, create a main `UI Document` named `UsersView.uxml` with the following content.
10991108

11001109
```xml

0 commit comments

Comments
 (0)