📜  片段回压 kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:32.936000             🧑  作者: Mango

代码示例1
activity?.onBackPressedDispatcher?.addCallback(viewLifecycleOwner, object : OnBackPressedCallback(true) {
            override fun handleOnBackPressed() {

            }
        })