Fix vertical translation of header on API23 devices.

This commit is contained in:
Alex Hart
2022-01-28 12:41:35 -04:00
committed by Cody Henthorne
parent fd86dd3424
commit ccc08e651c
2 changed files with 20 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class GiphyMp4ItemDecoration(
return
}
val childTop = footerViewHolder.itemView.top
val childTop: Int = footerViewHolder.itemView.top
parent.translationY = min(0, -childTop).toFloat()
onRecyclerVerticalTranslationSet(parent.translationY)
}