diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-19 21:05:50 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-19 21:05:50 +0200 |
commit | 9533323167e72dd3ed76f2cca50eb29946e785af (patch) | |
tree | 77e57d315ec42acb0209fb737522eac9b76e7c7c /src/de/podfetcher | |
parent | e2ddfd292b7655e1dd6cf9becefde8b17bb8bd17 (diff) | |
download | AntennaPod-9533323167e72dd3ed76f2cca50eb29946e785af.zip |
Created new package for AsyncTasks
Diffstat (limited to 'src/de/podfetcher')
-rw-r--r-- | src/de/podfetcher/activity/AddFeedActivity.java | 4 | ||||
-rw-r--r-- | src/de/podfetcher/activity/DownloadActivity.java | 4 | ||||
-rw-r--r-- | src/de/podfetcher/activity/ItemviewActivity.java | 4 | ||||
-rw-r--r-- | src/de/podfetcher/adapter/DownloadLogAdapter.java | 2 | ||||
-rw-r--r-- | src/de/podfetcher/adapter/DownloadlistAdapter.java | 4 | ||||
-rw-r--r-- | src/de/podfetcher/asynctask/DownloadObserver.java (renamed from src/de/podfetcher/service/DownloadObserver.java) | 2 | ||||
-rw-r--r-- | src/de/podfetcher/asynctask/DownloadStatus.java (renamed from src/de/podfetcher/service/DownloadStatus.java) | 2 | ||||
-rw-r--r-- | src/de/podfetcher/feed/FeedManager.java | 2 | ||||
-rw-r--r-- | src/de/podfetcher/service/DownloadService.java | 1 | ||||
-rw-r--r-- | src/de/podfetcher/storage/PodDBAdapter.java | 2 |
10 files changed, 14 insertions, 13 deletions
diff --git a/src/de/podfetcher/activity/AddFeedActivity.java b/src/de/podfetcher/activity/AddFeedActivity.java index 985008df8..9cd8c5467 100644 --- a/src/de/podfetcher/activity/AddFeedActivity.java +++ b/src/de/podfetcher/activity/AddFeedActivity.java @@ -11,13 +11,13 @@ import android.content.Intent; import android.content.IntentFilter; import android.util.Log; import de.podfetcher.R; +import de.podfetcher.asynctask.DownloadObserver; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.feed.Feed; import de.podfetcher.feed.FeedManager; import de.podfetcher.storage.DownloadRequester; import de.podfetcher.util.URLChecker; -import de.podfetcher.service.DownloadObserver; import de.podfetcher.service.DownloadService; -import de.podfetcher.service.DownloadStatus; import com.actionbarsherlock.app.SherlockActivity; import com.actionbarsherlock.view.Menu; diff --git a/src/de/podfetcher/activity/DownloadActivity.java b/src/de/podfetcher/activity/DownloadActivity.java index 48adfe995..967b5a3d3 100644 --- a/src/de/podfetcher/activity/DownloadActivity.java +++ b/src/de/podfetcher/activity/DownloadActivity.java @@ -4,8 +4,8 @@ package de.podfetcher.activity; import de.podfetcher.R; import de.podfetcher.storage.DownloadRequester; import de.podfetcher.adapter.DownloadlistAdapter; -import de.podfetcher.service.DownloadObserver; -import de.podfetcher.service.DownloadStatus; +import de.podfetcher.asynctask.DownloadObserver; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.feed.FeedMedia; import de.podfetcher.feed.FeedFile; import com.actionbarsherlock.app.SherlockListActivity; diff --git a/src/de/podfetcher/activity/ItemviewActivity.java b/src/de/podfetcher/activity/ItemviewActivity.java index ad3fbd127..499457122 100644 --- a/src/de/podfetcher/activity/ItemviewActivity.java +++ b/src/de/podfetcher/activity/ItemviewActivity.java @@ -15,14 +15,14 @@ import android.widget.TextView; import com.actionbarsherlock.app.SherlockActivity; import de.podfetcher.R; +import de.podfetcher.asynctask.DownloadObserver; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.feed.Feed; import de.podfetcher.feed.FeedItem; import de.podfetcher.feed.FeedManager; import de.podfetcher.feed.FeedMedia; import de.podfetcher.fragment.FeedItemlistFragment; import de.podfetcher.fragment.FeedlistFragment; -import de.podfetcher.service.DownloadObserver; -import de.podfetcher.service.DownloadStatus; import de.podfetcher.service.PlaybackService; import de.podfetcher.storage.DownloadRequester; diff --git a/src/de/podfetcher/adapter/DownloadLogAdapter.java b/src/de/podfetcher/adapter/DownloadLogAdapter.java index 56ab00a44..c77a85c54 100644 --- a/src/de/podfetcher/adapter/DownloadLogAdapter.java +++ b/src/de/podfetcher/adapter/DownloadLogAdapter.java @@ -12,11 +12,11 @@ import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import de.podfetcher.R; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.feed.Feed; import de.podfetcher.feed.FeedFile; import de.podfetcher.feed.FeedImage; import de.podfetcher.feed.FeedMedia; -import de.podfetcher.service.DownloadStatus; import de.podfetcher.util.DownloadError; /** Displays a list of DownloadStatus entries. */ diff --git a/src/de/podfetcher/adapter/DownloadlistAdapter.java b/src/de/podfetcher/adapter/DownloadlistAdapter.java index 8b11c13ef..0beacc650 100644 --- a/src/de/podfetcher/adapter/DownloadlistAdapter.java +++ b/src/de/podfetcher/adapter/DownloadlistAdapter.java @@ -9,12 +9,12 @@ import android.content.Context; import de.podfetcher.R; import de.podfetcher.util.Converter; +import de.podfetcher.asynctask.DownloadObserver; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.feed.Feed; import de.podfetcher.feed.FeedFile; import de.podfetcher.feed.FeedImage; import de.podfetcher.feed.FeedMedia; -import de.podfetcher.service.DownloadObserver; -import de.podfetcher.service.DownloadStatus; public class DownloadlistAdapter extends ArrayAdapter<DownloadStatus> { public DownloadlistAdapter(Context context, diff --git a/src/de/podfetcher/service/DownloadObserver.java b/src/de/podfetcher/asynctask/DownloadObserver.java index 021c2a210..fe208c923 100644 --- a/src/de/podfetcher/service/DownloadObserver.java +++ b/src/de/podfetcher/asynctask/DownloadObserver.java @@ -1,4 +1,4 @@ -package de.podfetcher.service; +package de.podfetcher.asynctask; import de.podfetcher.storage.DownloadRequester; import de.podfetcher.feed.*; diff --git a/src/de/podfetcher/service/DownloadStatus.java b/src/de/podfetcher/asynctask/DownloadStatus.java index 8fb6a124b..10dc79dad 100644 --- a/src/de/podfetcher/service/DownloadStatus.java +++ b/src/de/podfetcher/asynctask/DownloadStatus.java @@ -1,4 +1,4 @@ -package de.podfetcher.service; +package de.podfetcher.asynctask; import java.util.Date; diff --git a/src/de/podfetcher/feed/FeedManager.java b/src/de/podfetcher/feed/FeedManager.java index 8fcd57119..cd81cce21 100644 --- a/src/de/podfetcher/feed/FeedManager.java +++ b/src/de/podfetcher/feed/FeedManager.java @@ -5,7 +5,7 @@ import java.util.ArrayList; import java.util.Date; import de.podfetcher.activity.MediaplayerActivity; -import de.podfetcher.service.DownloadStatus; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.service.PlaybackService; import de.podfetcher.storage.*; import android.content.Context; diff --git a/src/de/podfetcher/service/DownloadService.java b/src/de/podfetcher/service/DownloadService.java index 8ce696401..51e77ba4c 100644 --- a/src/de/podfetcher/service/DownloadService.java +++ b/src/de/podfetcher/service/DownloadService.java @@ -13,6 +13,7 @@ import java.util.concurrent.TimeUnit; import de.podfetcher.activity.DownloadActivity; import de.podfetcher.activity.MediaplayerActivity; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.feed.*; import de.podfetcher.service.PlaybackService.LocalBinder; import de.podfetcher.storage.DownloadRequester; diff --git a/src/de/podfetcher/storage/PodDBAdapter.java b/src/de/podfetcher/storage/PodDBAdapter.java index 1a357c786..527f2b0b2 100644 --- a/src/de/podfetcher/storage/PodDBAdapter.java +++ b/src/de/podfetcher/storage/PodDBAdapter.java @@ -1,11 +1,11 @@ package de.podfetcher.storage; +import de.podfetcher.asynctask.DownloadStatus; import de.podfetcher.feed.Feed; import de.podfetcher.feed.FeedCategory; import de.podfetcher.feed.FeedImage; import de.podfetcher.feed.FeedItem; import de.podfetcher.feed.FeedMedia; -import de.podfetcher.service.DownloadStatus; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; |