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.
我在活动中有一个简单的片段,我需要它来更新它的内容。
我有根视图的句柄,但是
view.invalidate()
什么都不做。
当我将片段从后台堆栈中弹出并再次推送时,它会更新它的内容。这是更新片段的方式吗?