我不知道为什么,它不起作用。 我想将数据从 TextField 中的 Screen2 移动到 Screen1 没有错误,应用程序在手机上运行良好,但不显示数据。\
主要 https://github.com/fornakter/Navigation-With-Data/blob/main/app/src/main/java/com/nav/controllerwithdata/MainActivity.kt
屏幕1 https://github.com/fornakter/Navigation-With-Data/blob/main/app/src/main/java/com/nav/controllerwithdata/screens/Screen1.kt
屏幕2 https://github.com/fornakter/Navigation-With-Data/blob/main/app/src/main/java/com/nav/controllerwithdata/screens/Screen2.kt
在屏幕 2 中,在
currentBackStabEntry
previousbackStabEntry