Back to project page texting.
The source code is released under:
Free to use, distribute, do anything.
If you think the Android project texting 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.skk.texting.async; //from w w w . j a va 2 s . com import android.os.AsyncTask; public class AsyncCursorUpdate extends AsyncTask<Void, Void, Void> { private BackgroundTask backgroundTask; public AsyncCursorUpdate(BackgroundTask backgroundTask){ this.backgroundTask = backgroundTask; } @Override protected Void doInBackground(Void... voids) { backgroundTask.task(); return null; } @Override protected void onPostExecute(Void aVoid) { backgroundTask.taskComplete(); } }