diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2021-02-13 13:53:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-13 13:53:18 +0100 |
commit | cca5a8a624f0d3529c99975f2440321a3b8872f4 (patch) | |
tree | 34d21d3ac2b51a18ee4e974203ce6ce46a7c982f /app/src/main/java/de/danoeh/antennapod/view | |
parent | 1a803fcbf811489522d286a12e6b4d833f8eb7f3 (diff) | |
parent | b0af98e6445832acf8ea4eec13665026fe47b3dc (diff) | |
download | AntennaPod-cca5a8a624f0d3529c99975f2440321a3b8872f4.zip |
Merge pull request #4920 from ByteHamster/jcenter-deprecation
Migrate away from jcenter
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); } |