Android Open Source - unicef_gis_mobile Get Tags Task

From Project

Back to project page unicef_gis_mobile.


The source code is released under:

MIT License

If you think the Android project unicef_gis_mobile listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*  ww  w . j a va2s  .  c o m*/
import java.util.List;

import org.unicef.gis.model.Tag;

import android.content.Context;
import android.os.AsyncTask;

public class GetTagsTask extends AsyncTask<Void, Void, List<Tag>> {
  private final IGetTagsCallback callback;
  private final Context context;

  public GetTagsTask(Context context, IGetTagsCallback callback) {
    this.callback = callback;
    this.context = context;

  protected List<Tag> doInBackground(Void... arg0) {
    UnicefGisStore store = new UnicefGisStore(context);
    return store.retrieveTags();

  protected void onPostExecute(List<Tag> result) {

Java Source Code List