This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fragment | |
android:id="@+id/subscriptions_fragment" | |
android:name="com.company.SubscriptionsFragment"> | |
<deepLink app:uri="company.com/user/subscriptions" /> | |
</fragment> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fragment | |
android:id="@+id/profile_fragment" | |
android:name="com.company.ProfileFragment"> | |
<deepLink app:uri="company.com/user/.*" /> | |
... | |
</fragment> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fragment | |
android:id="@+id/favorites_fragment" | |
android:name="com.company.FavoritesFragment"> | |
<deepLink app:uri="company.com/customer/favorites" /> | |
<deepLink app:uri="staging-company.com/customer/favorites" /> | |
</fragment> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fragment | |
android:id="@+id/favorites_fragment" | |
android:name="com.company.FavoritesFragment"> | |
<deepLink app:uri="${deepLinkHost}/customer/favorites" /> | |
</fragment> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun onNewIntent(intent: Intent?) { | |
super.onNewIntent(intent) | |
navController.handleDeepLink(intent) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
staging { | |
manifestPlaceholders = [scheme: "https", host: "staging-company.com"] | |
} | |
prod { | |
manifestPlaceholders = [scheme: "https", host: "company.com"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.graphics.Canvas | |
import android.graphics.Rect | |
import android.support.v7.widget.RecyclerView | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
/** | |
* Created with Android Studio | |
* User: Sergey Petrov [email protected] |