Created
August 6, 2013 14:57
-
-
Save smaspe/6165228 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 static final String SNAPR_URL = "http://sna.pr/api/search/"; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, | |
android.R.layout.simple_list_item_1); | |
setListAdapter(adapter); | |
new Downloader(adapter).execute(SNAPR_URL); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment