1)
static public void RunAsyncBinding(Context context)
{
new ProcessAsyncBinding(context).execute();
}
2)
static private class ProcessAsyncBinding extends AsyncTask<String,String,Integer> {
private Context mContext;
public ProcessAsyncBinding (Context context){
mContext = context;
}
@Override
protected Integer doInBackground(String... params)
{
IconManager.BindExternalIconPack(mContext, IconManager.getCurrentIconPack(mContext), true);
return 0;
}
@Override
protected void onPostExecute(Integer result) {
super.onPostExecute(result);
}
}