-1

I am working with fragments. I am using two fragments and its working fine in some cases. After rotation of the device overlapping of fragments data take place in some cases.

However I have tried to save the state of fragments and all. But its not working.

4

1 回答 1

2

在您的片段交易中使用 .replace() 。它通常可以解决 90% 的重叠片段。

于 2012-10-22T13:03:16.407 回答