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.
我想创建一个可以容纳不同类型数据的列表视图,当我按下我提供的某种按钮的按钮时会显示每种数据类型。当我按下不同的按钮时如何更改显示的数据?谁知道,请告诉我怎么做...谢谢
您应该查看“共享首选项”,您可以在其中列出不同类型的数据并让用户选择一个。
看看这里
您可以在设置中拥有共享偏好。它看起来比有按钮来更改数据更好。
希望能帮助到你