-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
moviemanagerchallengeTask for "Improve the Movie Manager" ChallengeTask for "Improve the Movie Manager" Challenge
Description
In lesson 7, we added an activity indicator to the login view. The view appears and starts spinning when the login process begins, and stops spinning and disappears when the login is complete.
But what happens if the login doesn't complete? Try an incorrect username/password or modifying the API key. After dismissing the alert, the spinner keeps spinning. You'll also notice that the text fields can't be edited, nor can you press any of the buttons.
We already know where to add code for when the login fails. To fix this issue, try calling setLoggingIn() in the appropriate places to ensure UI changes appropriately to match the "logging in" state.
Metadata
Metadata
Assignees
Labels
moviemanagerchallengeTask for "Improve the Movie Manager" ChallengeTask for "Improve the Movie Manager" Challenge