diff options
author | ByteHamster <info@bytehamster.com> | 2019-08-31 00:56:21 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-08-31 00:56:21 +0200 |
commit | b147b3c07a4a7eea9fe1111c3e91e965dc05251f (patch) | |
tree | f2cfdbba927bcf59acaa5f0a3a3b97d9252195a1 /app/src/main/java/de/danoeh/antennapod | |
parent | 8a3e4f8765c0836a59f8adc5fbc531466774cf38 (diff) | |
download | AntennaPod-b147b3c07a4a7eea9fe1111c3e91e965dc05251f.zip |
Added fast scroll to item list
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java index c23efc2ff..706829f8b 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java @@ -17,6 +17,7 @@ import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; +import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ImageButton; import android.widget.ImageView; @@ -140,6 +141,13 @@ public class FeedItemlistFragment extends ListFragment { } @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + View view = super.onCreateView(inflater, container, savedInstanceState); + ((ListView) view.findViewById(android.R.id.list)).setFastScrollEnabled(true); + return view; + } + + @Override public void onStart() { super.onStart(); EventDistributor.getInstance().register(contentUpdate); |