Created
January 1, 2020 09:23
-
-
Save ssaurel/adf1eae6ff5deecbe8c090914f5b1e02 to your computer and use it in GitHub Desktop.
loadWords method on SSaurel's Blog
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
private void loadWords() { | |
new Thread(() -> { | |
Anagram.loadWords(MainActivity.this); | |
runOnUiThread(() -> { | |
validate.setEnabled(Anagram.isLoaded()); | |
}); | |
}).start(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment