Glass Explorer Edition SDK 已弃用。本文档仍作为历史参考。
模式
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
这些指南将指导您如何构建设计良好的 Glassware,
并遵循我们认为适合 Glass 的模式模式不是
下面列出了构建 Glassware 的详尽列表,其中最
常见的问题。
选择设计模式
如果您还没看过
设计模式概览
了解每种模式是什么以及何时使用它们。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-07-12。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-07-12。"],[[["These guides help you build well-designed Glassware using proven patterns."],["The patterns covered are the most common, but not all possible, ways to build Glassware."],["Before you start, explore the design pattern overview to understand each pattern and its use case."],["Two key patterns are highlighted: Ongoing Task and Immersion."]]],[]]