Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.os.AsyncTask;

public class Main {
    @SafeVarargs
    public static <Params, Progress, Result> void StartAsyncTask(AsyncTask<Params, Progress, Result> asyncTask,
            Params... params) {
        asyncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, params);
    }
}