级联选项卡主机:如何保持可寻址性?

发布于 2024-10-05 00:42:43 字数 421 浏览 0 评论 0原文

我有一个架构,它使用 tabhost 支持的微调器来模拟树视图结构。第一个微调器未启用,第一个选项卡主机最多显示 10 个选项卡。选择任何一个选项卡都会显示一个充满可选项目的微调器和一个具有该选择“线程”特有的选项卡的从属选项卡主机。这种结构是可以无限重复的。

据我所知,该结构的显示运行完美。我这么说是因为每当我单击第三级微调器时,我的应用程序就会强制关闭。错误日志报告来自 WindowManager 的消息:“尝试添加具有未知标记的窗口。正在中止'

我相信值得注意的是,该微调器是位于第二个 FrameLayout 中的第一个控制元素!

有谁知道如何解决这个明显的可寻址性问题?

PS:此应用程序是尝试将Web应用程序移植到android平台。演示可在 georgiansoftware.com 上找到 [用户名:Guest / 密码:Guest2009]

I have an architecture which simulates a treeview structure using a spinner supported by a tabhost. The first spinner is not enabled and the first tabhost shows up to 10 tabs. Selecting any one of the tabs exposes a spinner filled with selectable items and a subordinate tabhost with tabs unique to that selection 'thread'. This structure is repeatable ad infinitum.

The display of this structure is working flawlessly, as far as I can tell. I say that because my application goes to a forced close whenever I click on a 3rd-level spinner. The error log reports a message from WindowManager: 'Attempted to add a window with unknown token. Aborting'

I believe it is notable that this spinner is the first control element that is located in the 2nd FrameLayout!

Does anyone have an idea how to work around this apparent addressability problem?

PS: This application is an attempt to port a web application to the android platform. A demonstration is available at georgiansoftware.com [username:Guest / password:Guest2009]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文