return false;
}
- private class CurrentTask extends AsyncTask<Object, Void, Current> {
+ private static class CurrentTask extends AsyncTask<Object, Void, Current> {
// Store the context passed to the AsyncTask when the system instantiates it.
private final Context localContext;
final CustomHTTPClient HTTPClient;
return false;
}
- private class OverviewTask extends AsyncTask<Object, Void, Forecast> {
+ private static class OverviewTask extends AsyncTask<Object, Void, Forecast> {
// Store the context passed to the AsyncTask when the system instantiates it.
private final Context localContext;
private final CustomHTTPClient HTTPClient;