ajh3
ajh3

Reputation: 101

How are implicit intents used with the Jetpack Navigation Component?

The Jetpack Navigation Component docs say that activities can be set as destinations, but they don't say anything about using implicit intents as destinations. Is this possible, and if so, how is it done?

Upvotes: 2

Views: 717

Answers (1)

ianhanniballake
ianhanniballake

Reputation: 199805

As per the Navigation Deep Linking documentation, you can associate a URI with a destination by using a <deepLink> element in your navigation graph:

<deepLink app:uri="www.example.com/topics/{topicName}"/>

This is the only kind of implicit Intent that is available with the Navigation Architecture Component at this time.

Upvotes: 2

Related Questions