sphinx-kotlin
                                
                                 sphinx-kotlin copied to clipboard
                                
                                    sphinx-kotlin copied to clipboard
                            
                            
                            
                        Error Notifications
Need a way to notify the user when there is an error such that they can be informed in the event something goes wrong.
Example: Their network connection is slow. They create a new contact and navigate back to the Dashboard. The network request for creating a new contact completes with exception. They're no longer on the "new contact" screen and have no way of knowing if it was created or not.
Concept: Create a repository-error-handler interface and implement in SphinxRepository where by the Activity can observe a BroadcastChannel and post up errors to the screen by toggling an ErrorViewState that requires user to select OK (just like the iOS app).