Skip to content

BottomAppBar 配合NavigationBarItem 切换设置popUpTo的问题 #242

Closed Answered by LiuPack
LiuPack asked this question in Q&A
Discussion options

You must be logged in to vote

你可以为每一个页面写BackHandler,比如

BackHandler {
    // exit the app
}

这个确实可行
我的本意是想通过栈的形式来进行退出应用的,好像现在 PreCompose没有提供这种写法是吗

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Tlaster
Comment options

Answer selected by LiuPack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants