I'm trying to expand on the Tab Swipe Application template. I've created a class, say x, which extends AsyncTask which reads from network and update ListView. x.execute(param1) is invoked from the static class DummyFragment.
The problem is i'm confused as to how to pass the context to the following code.
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, values);
Please shed some light as how to pass the context from a static class which extends Fragment.