Skip to content

Commit

Permalink
Merge pull request #12 from akashmi/main
Browse files Browse the repository at this point in the history
Update CarouselRecyclerview.kt
  • Loading branch information
sparrow007 authored Jan 18, 2022
2 parents 4c1559c + e72622d commit 3d22398
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class CarouselRecyclerview(context: Context, attributeSet: AttributeSet) : Recyc
* @param isAlpha alpha value and it should in range (0.3f - 1.0f)
*/
fun setAlpha(isAlpha: Boolean) {
carouselLayoutManagerBuilder.setIsAlpha(true)
carouselLayoutManagerBuilder.setIsAlpha(isAlpha)
layoutManager = carouselLayoutManagerBuilder.build()
}

Expand Down Expand Up @@ -157,4 +157,4 @@ class CarouselRecyclerview(context: Context, attributeSet: AttributeSet) : Recyc

}

}
}

0 comments on commit 3d22398

Please sign in to comment.