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.
我有一个包含 3 个选项卡的选项卡活动。每个选项卡都是一个 ListView。我想将任何列表项从 tab1 拖放到 tab2 中。我尝试了很多,但找不到任何这样的例子。如果有人有想法,请告诉我。
您可以通过使用支持 v4 使 tab2 扩展片段活动并希望列表项扩展片段来解决它,然后您调用这些片段并在 tab2 中打开它们希望这可以帮助您