Removed non-empty constructors
This commit is contained in:
parent
c3852f333c
commit
89688e7271
|
@ -2,6 +2,7 @@ package de.danoeh.antennapod.activity;
|
|||
|
||||
import android.content.Intent;
|
||||
import android.content.res.TypedArray;
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.app.FragmentTransaction;
|
||||
import android.util.Log;
|
||||
|
@ -49,11 +50,6 @@ public class AudioplayerActivity extends MediaplayerActivity {
|
|||
private ImageButton butNavLeft;
|
||||
private ImageButton butNavRight;
|
||||
|
||||
public AudioplayerActivity() {
|
||||
super();
|
||||
detachedFragments = new Fragment[NUM_CONTENT_FRAGMENTS];
|
||||
}
|
||||
|
||||
private void resetFragmentView() {
|
||||
currentlyShownFragment = null;
|
||||
coverFragment = null;
|
||||
|
@ -70,6 +66,12 @@ public class AudioplayerActivity extends MediaplayerActivity {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
detachedFragments = new Fragment[NUM_CONTENT_FRAGMENTS];
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onAwaitingVideoSurface() {
|
||||
startActivity(new Intent(this, VideoplayerActivity.class));
|
||||
|
|
|
@ -88,10 +88,6 @@ public class MiroGuideChannellistFragment extends SherlockListFragment {
|
|||
return cf;
|
||||
}
|
||||
|
||||
private MiroGuideChannellistFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
@ -162,9 +158,11 @@ public class MiroGuideChannellistFragment extends SherlockListFragment {
|
|||
MiroGuideChannel selection = listAdapter.getItem(position);
|
||||
Intent launchIntent = new Intent(getActivity(),
|
||||
MiroGuideChannelViewActivity.class);
|
||||
launchIntent.putExtra(MiroGuideChannelViewActivity.EXTRA_CHANNEL_ID,
|
||||
launchIntent.putExtra(
|
||||
MiroGuideChannelViewActivity.EXTRA_CHANNEL_ID,
|
||||
selection.getId());
|
||||
launchIntent.putExtra(MiroGuideChannelViewActivity.EXTRA_CHANNEL_URL,
|
||||
launchIntent.putExtra(
|
||||
MiroGuideChannelViewActivity.EXTRA_CHANNEL_URL,
|
||||
selection.getDownloadUrl());
|
||||
startActivity(launchIntent);
|
||||
}
|
||||
|
@ -237,7 +235,8 @@ public class MiroGuideChannellistFragment extends SherlockListFragment {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected List<MiroGuideChannel> doInBackground(Void... params) {
|
||||
protected List<MiroGuideChannel> doInBackground(
|
||||
Void... params) {
|
||||
if (AppConfig.DEBUG)
|
||||
Log.d(TAG, "Background channel loader started");
|
||||
MiroGuideService service = new MiroGuideService();
|
||||
|
|
Loading…
Reference in New Issue