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.
我想从主要活动的主要片段中获取安全的参数,以将它们提供给导航抽屉。如何从主片段或任何其他片段中调用的 API 在 NavController.OnDestinationChangedListener 中获取参数。