Back to project page wizapp.
The source code is released under:
MIT License
If you think the Android project wizapp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.wb.wizapp.concurret; /*w w w . j a v a 2s.c o m*/ import java.lang.ref.WeakReference; import android.content.Context; import android.os.AsyncTask; public abstract class UIAsyncTask<PR, PG, RS> extends AsyncTask<PR, PG, RS> { protected WeakReference<Context> wkCtx; public UIAsyncTask(Context ctx) { this.wkCtx = new WeakReference<Context>(ctx); } }