断开连接指示灯
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
断开连接指示器可以让用户知道 Wear OS 设备何时与配对手机或互联网断开连接。
用法
Wear OS 设备断开连接后,应用的某些功能可能会无法使用。为了指出这一点,需要使用离线指示器。

位于视图顶部的离线指示器可以帮助用户发现应用中的某些功能可能无法使用。应用可以灰显或隐藏那些断开连接后无法使用的功能。

位于列表或滚动视图底部的离线指示器可以告知用户,在应用断开连接期间无法加载更多内容。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","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):2025-07-27。"],[],[],null,["# Disconnection indicators let users know when a Wear OS device is disconnected\nfrom its companion phone or the internet.\n\nUsage\n-----\n\nWhen Wear OS device are disconnected, your app can lose some functionality.\nTo indicate this, use an offline indicator.\n\nAn offline indicator at the top of a view helps users identify that some\nfunctionality in the app may be not be available. Your app can gray out or hide\nthe functions that are not available when disconnected.\n\nAn offline indicator at the bottom of a list or a scroll view lets users know\nthat no more content can be loaded while the app is disconnected."]]