一个带有橱窗效果的ImageView.
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.dyguests:ParallaxImage:x.x.x'
}
// in adapter>ViewHolder>init
ParallaxImageRecyclerViewHelper.setup(recyclerView, img_cover)