-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved the sample app navigation (#29)
- Loading branch information
1 parent
cd86117
commit ede14e2
Showing
6 changed files
with
94 additions
and
66 deletions.
There are no files selected for viewing
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
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
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
35 changes: 35 additions & 0 deletions
35
sampleapplication/src/main/java/com/evervault/sampleapplication/navigation/Route.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.evervault.sampleapplication.navigation | ||
|
||
sealed class Route(val route: String) { | ||
|
||
object Home : Route("home") | ||
|
||
object BasicEncryption : Route("BasicEncryption") | ||
|
||
object FileEncryption : Route("FileEncryption") | ||
|
||
object CreditCardInput : Route("CreditCardInput") | ||
|
||
object CreditCardInputWithPlaceholders : Route("CreditCardInputWithPlaceholders") | ||
|
||
object CreditCardInputCustom : Route("CreditCardInputCustom") | ||
|
||
object CreditCardInputRows : Route("CreditCardInputRows") | ||
|
||
object CreditCardInputRowsWithPlaceholders : Route("CreditCardInputRowsWithPlaceholders") | ||
|
||
object CreditCardInputCustomStyle : Route("CreditCardInputCustomStyle") | ||
|
||
object InlinePaymentCard : Route("InlinePaymentCard") | ||
|
||
object InlinePaymentCardCustomStyle : Route("InlinePaymentCardCustomStyle") | ||
|
||
object RowsPaymentCard : Route("RowsPaymentCard") | ||
|
||
object CreditCardInputCustomComposables : Route("CreditCardInputCustomComposables") | ||
|
||
object CreditCardInputCustomComposablesWithoutLabels : | ||
Route("CreditCardInputCustomComposablesWithoutLabels") | ||
|
||
object Cage : Route("Cage") | ||
} |
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
Oops, something went wrong.