public static AsyncTask runAsync(final Runnable r) { return new AsyncTask() { @Override protected Void doInBackground(Void... params) { r.run(); return null; }}.execute(); } runAsync(new Runnable() { @Override public void run() {}} );
Post a Comment
No comments:
Post a Comment