From d4253a4528c6f9385f2651ea0503a14a06c2869c Mon Sep 17 00:00:00 2001 From: duangavin123 Date: Thu, 4 May 2023 11:35:53 +0000 Subject: [PATCH] update zh-cn/third-party-cases/how-to-group-contacts-with-alphabet.md. Signed-off-by: duangavin123 Signed-off-by: duangavin123 --- .../third-party-cases/how-to-group-contacts-with-alphabet.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zh-cn/third-party-cases/how-to-group-contacts-with-alphabet.md b/zh-cn/third-party-cases/how-to-group-contacts-with-alphabet.md index 3ae912c62d..488e9fcf82 100644 --- a/zh-cn/third-party-cases/how-to-group-contacts-with-alphabet.md +++ b/zh-cn/third-party-cases/how-to-group-contacts-with-alphabet.md @@ -22,8 +22,9 @@ ### 开发步骤 针对上述关键特性,具体实现步骤如下: + 1、先通过Stack、List、ListItemGroup、AlphabetIndexer等关键组件将UI框架搭建起来。 -先构建列表数据,其中Contact为联系人数据类 +先构建列表数据,其中Contact为联系人数据类。 ```ts contactGroups: object[] = [ ... @@ -186,6 +187,7 @@ struct ContactList{ ### 完整代码 通过上述步骤我们已经完成了整个示例的开发,现提供本示例的完整代码供大家参考: + 联系人数据类代码: ```ts // ListModel.ets -- GitLab