Make carousel indicator count correctly

This commit is contained in:
Matthieu 2022-10-31 00:17:58 +01:00
parent b36fadd76c
commit 214ba98bc4
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,6 @@ class ImageCarousel(
if(value){
recyclerView.layoutManager = CarouselLinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false)
showNavigationButtons = showNavigationButtons
binding.editMediaDescriptionLayout.visibility = if(editingMediaDescription) VISIBLE else INVISIBLE
@ -425,6 +424,7 @@ class ImageCarousel(
e.printStackTrace()
}
}
initIndicator()
}