Advertisement
Guest User

Untitled

a guest
Jun 24th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public class Processo extends AsyncTask<Void,Date,Date>{
  2. @Override
  3. protected Date doInBackground(Void... params) {
  4. for(int i = 0 ; i < 100; i++){
  5. Log.i("Log", "i: " + i);
  6. }
  7. return null;
  8. }
  9. }
  10.  
  11. protected void onCreate(Bundle savedInstanceState) {
  12. super.onCreate(savedInstanceState);
  13. setContentView(R.layout.home);
  14. Processo p = new Processo();
  15. p.execute();
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement