Created
January 29, 2020 01:16
-
-
Save shivam340/15fbd1ede5e05f9e41abe4274373998c to your computer and use it in GitHub Desktop.
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
@startuml | |
DeepLinkDispatcher "Entry Point - Deeplink" --> DeepLinkHandlerActivity :screenType = in_progress | |
DeepLinkHandlerActivity --> com.myapp.orders.ongoing | |
note on link: launches InProgressOrdersActivity using android action "IN_PROGRESS" | |
package "com.myapp.orders.ongoing" #DDDDDD{ | |
OrdersActivity "does screen type \n validations here" -down-> InProgressOrdersFragment | |
} | |
InProgressOrdersFragment --> OrderDetailsActivity | |
OrderDetailsActivity <-down- "Entry Point - \n Manifest" SomeLegacyOrderListScreen | |
class DeepLinkDispatcher{ | |
- private static final String SEGMENT_IN_PROGRESS_ORDER = "/in_progress"; | |
+ public {static} void launchHandlerActivity(String screenType) | |
} | |
class DeepLinkHandlerActivity{ | |
- void goToRedesignedOrdersScreen() | |
} | |
class OrdersActivity { | |
+ void addInProgressFragment() | |
} | |
class InProgressOrdersFragment{ | |
+ void navigateToOrderDetailsScreen() | |
} | |
class OrderDetailsActivity { | |
} | |
class SomeLegacyOrderListScreen { | |
+ void showOrderDetails() | |
} | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment