Skip to content

Instantly share code, notes, and snippets.

@aemxn
Created January 11, 2014 17:38
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 aemxn/8374086 to your computer and use it in GitHub Desktop.
Save aemxn/8374086 to your computer and use it in GitHub Desktop.
public class CategoryActivity extends ListActivity {
ArrayList<HashMap<String, String>> categoryList;
...
@Override
public void onCreate(Bundle savedInstanceState) {
...
categoryList = new ArrayList<HashMap<String, String>>();
...
new LoadCategories().execute(); // Execute LoadCategories function
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment