Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created January 1, 2020 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/adf1eae6ff5deecbe8c090914f5b1e02 to your computer and use it in GitHub Desktop.
Save ssaurel/adf1eae6ff5deecbe8c090914f5b1e02 to your computer and use it in GitHub Desktop.
loadWords method on SSaurel's Blog
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