diff options
author | ByteHamster <info@bytehamster.com> | 2021-02-04 10:39:22 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-02-13 13:31:40 +0100 |
commit | cda24e4b8f69cbb78cd7fa1a2a94ef93df3e5fd7 (patch) | |
tree | 59ec7e3f988a9bb18eaa671fb6799e8d650945f3 /app/src/main/java/de/danoeh/antennapod/view | |
parent | 78b604355e4dc72ac778c1f7225a0802d87500a2 (diff) | |
download | AntennaPod-cda24e4b8f69cbb78cd7fa1a2a94ef93df3e5fd7.zip |
Removed unmaintained recyclerview-flexibledivider library
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/view')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/view/EpisodeItemListRecyclerView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/view/EpisodeItemListRecyclerView.java b/app/src/main/java/de/danoeh/antennapod/view/EpisodeItemListRecyclerView.java index 83d90f98b..fb1c533c5 100644 --- a/app/src/main/java/de/danoeh/antennapod/view/EpisodeItemListRecyclerView.java +++ b/app/src/main/java/de/danoeh/antennapod/view/EpisodeItemListRecyclerView.java @@ -6,9 +6,9 @@ import android.content.res.Configuration; import android.util.AttributeSet; import android.view.View; import androidx.appcompat.view.ContextThemeWrapper; +import androidx.recyclerview.widget.DividerItemDecoration; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; -import com.yqritc.recyclerviewflexibledivider.HorizontalDividerItemDecoration; import de.danoeh.antennapod.R; import io.reactivex.annotations.Nullable; @@ -39,7 +39,7 @@ public class EpisodeItemListRecyclerView extends RecyclerView { layoutManager.setRecycleChildrenOnDetach(true); setLayoutManager(layoutManager); setHasFixedSize(true); - addItemDecoration(new HorizontalDividerItemDecoration.Builder(getContext()).build()); + addItemDecoration(new DividerItemDecoration(getContext(), layoutManager.getOrientation())); setClipToPadding(false); } |