![](/img/trans.png)
[英]How to go from second activity to third activity or fourth activity based on first activity data (Radio button clicked)?
[英]Is it possible that First and Second activity will not show again when clicked the button in third activity?
單擊第三個活動中的按鈕時,第一個和第二個活動是否可能不會再次顯示?
在我點擊第三個活動中的按鈕之前,第一個和第二個活動仍然可以看到 go 回到上一個。
請問有人可以和我分享代碼嗎? 謝謝。
當您進行下一個活動時,將其添加到意圖中。
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
還添加完成();
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.