diff --git a/src/de/danoeh/antennapod/adapter/SCListAdapter.java b/src/de/danoeh/antennapod/adapter/SCListAdapter.java index 0764735ab..0174b4848 100644 --- a/src/de/danoeh/antennapod/adapter/SCListAdapter.java +++ b/src/de/danoeh/antennapod/adapter/SCListAdapter.java @@ -1,22 +1,13 @@ package de.danoeh.antennapod.adapter; -import java.text.DateFormat; import java.util.List; -import de.danoeh.antennapod.BuildConfig; -import de.danoeh.antennapod.R; -import de.danoeh.antennapod.adapter.FeedlistAdapter.Holder; -import de.danoeh.antennapod.feed.Feed; -import de.danoeh.antennapod.feed.SimpleChapter; -import de.danoeh.antennapod.storage.DownloadRequester; -import de.danoeh.antennapod.util.Converter; import android.content.Context; import android.graphics.Color; import android.text.Layout; import android.text.Selection; import android.text.Spannable; import android.text.Spanned; -import android.text.format.DateUtils; import android.text.method.LinkMovementMethod; import android.text.style.ClickableSpan; import android.text.util.Linkify; @@ -27,8 +18,10 @@ import android.view.View; import android.view.View.OnTouchListener; import android.view.ViewGroup; import android.widget.ArrayAdapter; -import android.widget.ImageView; import android.widget.TextView; +import de.danoeh.antennapod.R; +import de.danoeh.antennapod.feed.SimpleChapter; +import de.danoeh.antennapod.util.Converter; public class SCListAdapter extends ArrayAdapter { @@ -76,6 +69,8 @@ public class SCListAdapter extends ArrayAdapter { @Override public boolean onTouch(View v, MotionEvent event) { + // from + // http://stackoverflow.com/questions/7236840/android-textview-linkify-intercepts-with-parent-view-gestures TextView widget = (TextView) v; Object text = widget.getText(); if (text instanceof Spanned) { diff --git a/src/de/danoeh/antennapod/util/NumberGenerator.java b/src/de/danoeh/antennapod/util/NumberGenerator.java index 515d14809..630c64a89 100644 --- a/src/de/danoeh/antennapod/util/NumberGenerator.java +++ b/src/de/danoeh/antennapod/util/NumberGenerator.java @@ -3,7 +3,7 @@ package de.danoeh.antennapod.util; import java.util.Random; import android.util.Log; -/**Utility class for creating large random numbers.*/ +/**Utility class for creating numbers.*/ public final class NumberGenerator { /** Class shall not be instantiated.*/ private NumberGenerator() {