Skip to content

Commit

Permalink
Add Pager for trending items
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Rezaei committed May 26, 2024
1 parent 66ea364 commit f2ed5ad
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fun TMDbProgressBar() {
fun HorizontalDottedProgressBar() {
val color = MaterialTheme.colors.primary

val infiniteTransition = rememberInfiniteTransition()
val infiniteTransition = rememberInfiniteTransition(label = "")
val state = infiniteTransition.animateFloat(
initialValue = 0f,
targetValue = 6f,
Expand All @@ -37,7 +37,7 @@ fun HorizontalDottedProgressBar() {
durationMillis = 700,
easing = LinearEasing
)
)
), label = ""
)

DrawCanvas(state = state.value, radius = 15.dp, color = color)
Expand Down
Loading

0 comments on commit f2ed5ad

Please sign in to comment.