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() 方法中调用 finish()