Hello i am writing a download project and i'm stuck right here.

```
@Override
protected void onProgressUpdate(Integer... progress) {

}

//I'm using in my mainactivity like that
Download download = new Download();
download.execute("http://");

```

I want to get progress when updated and yeah i can do this using onProgressUpdate but i wonder about can i get it from my mainactivity i mean where i called the class. I love that kinda dynamic classes because i can use them easily my every project. Thank you btw forgive me for my grammar.