Created
September 30, 2014 17:01
-
-
Save kpgalligan/337850fa4721a6a56f14 to your computer and use it in GitHub Desktop.
String matching for errors is brittle and likely to break
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
} else if (task.userResponse.getMessage().equals("It appears you've already signed up")) { | |
Toast.makeText(getActivity(), "It appears that you've already signed up", Toast.LENGTH_SHORT).show(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expand a bit on this. Maybe merge with error control, although its possibly enough with some more tips to stand on its own.