|
|
@ -26,7 +26,7 @@ import androidx.navigation.navDeepLink
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.foryou.ForYouRoute
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.foryou.ForYouRoute
|
|
|
|
|
|
|
|
|
|
|
|
const val LINKED_NEWS_RESOURCE_ID = "linkedNewsResourceId"
|
|
|
|
const val LINKED_NEWS_RESOURCE_ID = "linkedNewsResourceId"
|
|
|
|
const val forYouNavigationRoute = "for_you_route"
|
|
|
|
const val forYouNavigationRoute = "for_you_route/{$LINKED_NEWS_RESOURCE_ID}"
|
|
|
|
private const val DEEP_LINK_URI_PATTERN =
|
|
|
|
private const val DEEP_LINK_URI_PATTERN =
|
|
|
|
"https://www.nowinandroid.apps.samples.google.com/foryou/{$LINKED_NEWS_RESOURCE_ID}"
|
|
|
|
"https://www.nowinandroid.apps.samples.google.com/foryou/{$LINKED_NEWS_RESOURCE_ID}"
|
|
|
|
|
|
|
|
|
|
|
|