Last active
January 2, 2016 00:59
-
-
Save hboregio/8227668 to your computer and use it in GitHub Desktop.
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
public class MiActivity extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
MiAsyncTask task = new MiAsyncTask(new Callback() { | |
public void finished() { | |
Toast.makeText(MiActivity.this, “Tarea terminada.”, Toast.LENGTH_SHORT).show(); | |
} | |
}); | |
task.execute((Void) null); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment