Navigation components : Deeplink using uri depending buildType
问题 Any way to read a constant depending buildType ${deepLinkHost} ? debug -> deepLinkUri = http://link.debug/ staging -> deepLinkUri = http://link.staging/ release -> deepLinkUri= http://link/ <?xml version="1.0" encoding="utf-8"?> <navigation xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/navigation_home" app:startDestination="@id/fragment_home"> <fragment android:id="