diff --git a/core/ui/src/main/java/com/mca/ui/component/CMPager.kt b/core/ui/src/main/java/com/mca/ui/component/CMPager.kt index 479e943..2212a58 100644 --- a/core/ui/src/main/java/com/mca/ui/component/CMPager.kt +++ b/core/ui/src/main/java/com/mca/ui/component/CMPager.kt @@ -50,6 +50,18 @@ import com.mca.ui.theme.Black import com.mca.ui.theme.LightBlack import com.mca.ui.theme.tintColor +/** + * Horizontal pager composable to display post images along with the dots indicator. + * @param images List of image URLs to be displayed in the pager. + * @param state PagerState to control and observe the pager's state. + * @param modifier Modifier for styling and layout customization. + * @param contentScale Scale to apply to the image content. + * @param enableTint Enable or disable the tint effect on the image. + * @param enableRemoveIcon Enable or disable the remove icon on the image. + * @param enableClick Enable or disable the click interaction on the image. + * @param onClick Callback to be invoked when the image is clicked. + * @param onRemoveImageClick Callback to be invoked when the remove icon is clicked. + */ @Composable fun CMPager( images: List, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 117c2ae..fc9f446 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -8,20 +8,20 @@ junitVersion = "1.2.1" espressoCore = "3.6.1" lifecycleRuntimeKtx = "2.8.6" activityCompose = "1.9.2" -composeBom = "2024.09.02" +composeBom = "2024.09.03" appcompat = "1.7.0" hiltAndroid = "2.52" hiltAndroidCompiler = "2.52" hiltCompiler = "1.2.0" -firebaseBom = "33.3.0" -firebaseMessaging = "24.0.1" +firebaseBom = "33.4.0" +firebaseMessaging = "24.0.2" googleServices = "4.4.2" -playServicesAds = "23.3.0" +playServicesAds = "23.4.0" appUpdateVersion = "2.1.0" retrofit = "2.11.0" oauthVersion = "1.19.0" coil = "2.6.0" -navigationCompose = "2.8.1" +navigationCompose = "2.8.2" kotlinxSerializationVersion = "1.6.3" truth = "1.4.2" coreTest = "2.2.0"