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.Intent;
|
||||||
import android.content.res.TypedArray;
|
import android.content.res.TypedArray;
|
||||||
|
import android.os.Bundle;
|
||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
import android.support.v4.app.FragmentTransaction;
|
import android.support.v4.app.FragmentTransaction;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
@ -49,11 +50,6 @@ public class AudioplayerActivity extends MediaplayerActivity {
|
|||||||
private ImageButton butNavLeft;
|
private ImageButton butNavLeft;
|
||||||
private ImageButton butNavRight;
|
private ImageButton butNavRight;
|
||||||
|
|
||||||
public AudioplayerActivity() {
|
|
||||||
super();
|
|
||||||
detachedFragments = new Fragment[NUM_CONTENT_FRAGMENTS];
|
|
||||||
}
|
|
||||||
|
|
||||||
private void resetFragmentView() {
|
private void resetFragmentView() {
|
||||||
currentlyShownFragment = null;
|
currentlyShownFragment = null;
|
||||||
coverFragment = 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
|
@Override
|
||||||
protected void onAwaitingVideoSurface() {
|
protected void onAwaitingVideoSurface() {
|
||||||
startActivity(new Intent(this, VideoplayerActivity.class));
|
startActivity(new Intent(this, VideoplayerActivity.class));
|
||||||
|
@ -88,10 +88,6 @@ public class MiroGuideChannellistFragment extends SherlockListFragment {
|
|||||||
return cf;
|
return cf;
|
||||||
}
|
}
|
||||||
|
|
||||||
private MiroGuideChannellistFragment() {
|
|
||||||
super();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
public void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
@ -162,9 +158,11 @@ public class MiroGuideChannellistFragment extends SherlockListFragment {
|
|||||||
MiroGuideChannel selection = listAdapter.getItem(position);
|
MiroGuideChannel selection = listAdapter.getItem(position);
|
||||||
Intent launchIntent = new Intent(getActivity(),
|
Intent launchIntent = new Intent(getActivity(),
|
||||||
MiroGuideChannelViewActivity.class);
|
MiroGuideChannelViewActivity.class);
|
||||||
launchIntent.putExtra(MiroGuideChannelViewActivity.EXTRA_CHANNEL_ID,
|
launchIntent.putExtra(
|
||||||
|
MiroGuideChannelViewActivity.EXTRA_CHANNEL_ID,
|
||||||
selection.getId());
|
selection.getId());
|
||||||
launchIntent.putExtra(MiroGuideChannelViewActivity.EXTRA_CHANNEL_URL,
|
launchIntent.putExtra(
|
||||||
|
MiroGuideChannelViewActivity.EXTRA_CHANNEL_URL,
|
||||||
selection.getDownloadUrl());
|
selection.getDownloadUrl());
|
||||||
startActivity(launchIntent);
|
startActivity(launchIntent);
|
||||||
}
|
}
|
||||||
@ -237,7 +235,8 @@ public class MiroGuideChannellistFragment extends SherlockListFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected List<MiroGuideChannel> doInBackground(Void... params) {
|
protected List<MiroGuideChannel> doInBackground(
|
||||||
|
Void... params) {
|
||||||
if (AppConfig.DEBUG)
|
if (AppConfig.DEBUG)
|
||||||
Log.d(TAG, "Background channel loader started");
|
Log.d(TAG, "Background channel loader started");
|
||||||
MiroGuideService service = new MiroGuideService();
|
MiroGuideService service = new MiroGuideService();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user