Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想保存用户对 Rally 工件的选择,以便在重新加载页面时显示有关该工件的详细信息。smae 仪表板上可能有多个应用程序实例;什么是唯一标识特定实例的最佳方法。我打算使用首选项 api 来保存状态。
如果我们谈论的是 SDK 2.0p3:应用程序的每个副本都有一个唯一的 ID,您可以使用“getAppID()”来查找。但是,如果您使用 updateSettingsValues,它将自动按 AppID 唯一保存。可悲的是,updateSettingsValues 仅是特定于应用程序的,而不是特定于用户或项目的。