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.
我的片段需要在其 onPause() 方法中区分是否将被替换或删除。如果我开始一个新事务来替换/删除它,或者用户是否要返回后台堆栈。任何想法如何解决它?