diff --git a/examples/Indicators/.gitignore b/examples/Indicators/.gitignore
new file mode 100644
index 00000000000..422afc069bf
--- /dev/null
+++ b/examples/Indicators/.gitignore
@@ -0,0 +1,204 @@
+# Created by https://www.toptal.com/developers/gitignore/api/kotlin,android,androidstudio,xcode
+# Edit at https://www.toptal.com/developers/gitignore?templates=kotlin,android,androidstudio,xcode
+
+### Android ###
+# Gradle files
+.gradle/
+build/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Log/OS Files
+*.log
+
+# Android Studio generated files and folders
+captures/
+.externalNativeBuild/
+.cxx/
+*.apk
+output.json
+
+# IntelliJ
+*.iml
+.idea/
+misc.xml
+deploymentTargetDropDown.xml
+render.experimental.xml
+
+# Keystore files
+*.jks
+*.keystore
+
+# Google Services (e.g. APIs or Firebase)
+google-services.json
+
+# Android Profiling
+*.hprof
+
+### Android Patch ###
+gen-external-apklibs
+
+# Replacement of .externalNativeBuild directories introduced
+# with Android Studio 3.5.
+
+### Kotlin ###
+# Compiled class file
+*.class
+
+# Log file
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.nar
+*.ear
+*.zip
+*.tar.gz
+*.rar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+replay_pid*
+
+### Xcode ###
+## User settings
+xcuserdata/
+
+## Xcode 8 and earlier
+*.xcscmblueprint
+*.xccheckout
+
+### Xcode Patch ###
+*.xcodeproj/*
+!*.xcodeproj/project.pbxproj
+!*.xcodeproj/xcshareddata/
+!*.xcodeproj/project.xcworkspace/
+!*.xcworkspace/contents.xcworkspacedata
+/*.gcno
+**/xcshareddata/WorkspaceSettings.xcsettings
+
+### AndroidStudio ###
+# Covers files to be ignored for android development using Android Studio.
+
+# Built application files
+*.ap_
+*.aab
+
+# Files for the ART/Dalvik VM
+*.dex
+
+# Java class files
+
+# Generated files
+bin/
+gen/
+out/
+
+# Gradle files
+.gradle
+
+# Signing files
+.signing/
+
+# Local configuration file (sdk path, etc)
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Log Files
+
+# Android Studio
+/*/build/
+/*/local.properties
+/*/out
+/*/*/build
+/*/*/production
+.navigation/
+*.ipr
+*~
+*.swp
+
+# Keystore files
+
+# Google Services (e.g. APIs or Firebase)
+# google-services.json
+
+# Android Patch
+
+# External native build folder generated in Android Studio 2.2 and later
+.externalNativeBuild
+
+# NDK
+obj/
+
+# IntelliJ IDEA
+*.iws
+/out/
+
+# User-specific configurations
+.idea/caches/
+.idea/libraries/
+.idea/shelf/
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/.name
+.idea/compiler.xml
+.idea/copyright/profiles_settings.xml
+.idea/encodings.xml
+.idea/misc.xml
+.idea/modules.xml
+.idea/scopes/scope_settings.xml
+.idea/dictionaries
+.idea/vcs.xml
+.idea/jsLibraryMappings.xml
+.idea/datasources.xml
+.idea/dataSources.ids
+.idea/sqlDataSources.xml
+.idea/dynamic.xml
+.idea/uiDesigner.xml
+.idea/assetWizardSettings.xml
+.idea/gradle.xml
+.idea/jarRepositories.xml
+.idea/navEditor.xml
+
+# Legacy Eclipse project files
+.classpath
+.project
+.cproject
+.settings/
+
+# Mobile Tools for Java (J2ME)
+
+# Package Files #
+
+# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
+
+## Plugin-specific files:
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Mongo Explorer plugin
+.idea/mongoSettings.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+### AndroidStudio Patch ###
+
+!/gradle/wrapper/gradle-wrapper.jar
+
+# End of https://www.toptal.com/developers/gitignore/api/kotlin,android,androidstudio,xcode
\ No newline at end of file
diff --git a/examples/Indicators/LICENSE b/examples/Indicators/LICENSE
new file mode 100644
index 00000000000..261eeb9e9f8
--- /dev/null
+++ b/examples/Indicators/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/examples/Indicators/README.md b/examples/Indicators/README.md
new file mode 100644
index 00000000000..59bedf8a2ee
--- /dev/null
+++ b/examples/Indicators/README.md
@@ -0,0 +1,101 @@
+# Indicators Compose Multiplatform
+
+This is a sample project that demonstrates the use of the Compose Multiplatform UI framework with Kotlin Multiplatform (KMP), targeting Android and iOS. The application displays a pager with a progress indicator in the pages.
+
+## Screenshots (Android & iOS)
+
+| First Android | Second Android | Third Android |
+|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
+| | | |
+
+| First iOS | Second iOS | Third iOS |
+|-----------------------------------------------------------------------|-----------------------------------------------------------------------|-----------------------------------------------------------------------|
+| | | |
+
+## Demo
+
+![](screenshots/demo.gif)
+
+## Prerequisites
+
+To run this project, you'll need the following:
+
+- [Android Studio](https://developer.android.com/studio)
+- [Xcode](https://apps.apple.com/us/app/xcode/id497799835)
+- [JDK](https://www.oracle.com/java/technologies/downloads/)
+- [Kotlin Multiplatform Mobile](https://kotlinlang.org/docs/multiplatform-plugin-releases.html#release-details) [plugin](https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform-mobile)
+- [Kotlin](https://kotlinlang.org/docs/releases.html)
+- [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/)
+
+
+## Getting Started
+
+1. Clone this repository to your local machine.
+ ```text
+ git clone https://github.com/ibenabdallah/indicators-compose-multiplatform.git
+ ```
+
+2. Open the project in Android Studio.
+
+3. Set up your Android and iOS device/emulator/simulator.
+
+4. Build and run the project.
+
+
+## Project Structure
+
+The project follows the standard Kotlin Multiplatform (KMP) structure, with the following notable files and directories:
+
+- `composeApp`: Contains the Android project configuration.
+ - `src/commonMain`: Contains the common code, including the Compose-based UI implementation.
+ - `src/androidMain`: Contains the Android-specific code and specific configuration files.
+ - `src/iosMain`: Contains the iOS-specific code.
+
+- `iosApp`: Contains the iOS-specific configuration files.
+
+- `build.gradle.kts`: The main Gradle build script for the project.
+
+## Run project on Different Platforms 🚀
+
+### Android
+To run the application on android device/emulator:
+- open project in Android Studio and run imported android run configuration
+
+To build the application bundle:
+- run `./gradlew :composeApp:assembleDebug`
+- find `.apk` file in `composeApp/build/outputs/apk/debug/composeApp-debug.apk`
+
+### iOS
+To run the application on iPhone device/simulator:
+- Open `iosApp/iosApp.xcproject` in Xcode and run standard configuration
+- Or use [Kotlin Multiplatform Mobile plugin](https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform-mobile) for Android Studio
+
+
+## Resources
+
+This project is based on the concepts and frameworks provided by Kotlin Multiplatform Mobile (KMM), Jetpack Compose, and Compose Multiplatform. Here are some resources that might be helpful in learning more about Compose Multiplatform UI and KMM
+
+- [Kotlin Multiplatform Mobile Documentation](https://kotlinlang.org/docs/mobile/)
+- [Jetpack Compose Documentation](https://developer.android.com/jetpack/compose/documentation)se)
+- [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/)
+
+
+## Contributing
+
+Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. Please ensure that your contributions adhere to the project's coding style and guidelines.
+
+
+## Contributors 📢
+
+
+
+
+
+## License
+
+This project is licensed under the [MIT License](LICENSE).
+
+## Connect with me
+
+[![](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/ibenabdallah/)
+[![](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/Ingbaismail)
\ No newline at end of file
diff --git a/examples/Indicators/build.gradle.kts b/examples/Indicators/build.gradle.kts
new file mode 100644
index 00000000000..efc10cffd41
--- /dev/null
+++ b/examples/Indicators/build.gradle.kts
@@ -0,0 +1,7 @@
+plugins {
+ //trick: for the same plugin versions in all sub-modules
+ alias(libs.plugins.androidApplication) apply false
+ alias(libs.plugins.androidLibrary) apply false
+ alias(libs.plugins.kotlinMultiplatform) apply false
+ alias(libs.plugins.jetbrainsCompose) apply false
+}
diff --git a/examples/Indicators/composeApp/build.gradle.kts b/examples/Indicators/composeApp/build.gradle.kts
new file mode 100644
index 00000000000..3d81f7089d4
--- /dev/null
+++ b/examples/Indicators/composeApp/build.gradle.kts
@@ -0,0 +1,92 @@
+import org.jetbrains.compose.ExperimentalComposeLibrary
+import org.jetbrains.compose.desktop.application.dsl.TargetFormat
+
+plugins {
+ alias(libs.plugins.kotlinMultiplatform)
+ alias(libs.plugins.androidApplication)
+ alias(libs.plugins.jetbrainsCompose)
+}
+
+kotlin {
+ androidTarget {
+ compilations.all {
+ kotlinOptions {
+ jvmTarget = "1.8"
+ }
+ }
+ }
+
+ listOf(
+ iosX64(),
+ iosArm64(),
+ iosSimulatorArm64()
+ ).forEach {
+ it.binaries.framework {
+ baseName = "ComposeApp"
+ isStatic = true
+ }
+ }
+
+ sourceSets {
+ androidMain.dependencies {
+ implementation(libs.compose.ui.tooling.preview)
+ implementation(libs.androidx.activity.compose)
+ implementation(libs.compose.ui.tooling)
+ }
+ commonMain.dependencies {
+ implementation(compose.runtime)
+ implementation(compose.foundation)
+ implementation(compose.material3)
+ implementation(compose.ui)
+ @OptIn(ExperimentalComposeLibrary::class)
+ implementation(compose.components.resources)
+ }
+
+ commonTest.dependencies {
+ implementation(libs.kotlin.test)
+ }
+ }
+}
+
+android {
+ namespace = "com.ibenabdallah.indicatorscmp"
+ compileSdk = libs.versions.android.compileSdk.get().toInt()
+
+ sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
+ sourceSets["main"].res.srcDirs("src/androidMain/res")
+ sourceSets["main"].resources.srcDirs("src/commonMain/resources")
+
+ defaultConfig {
+ applicationId = "com.ibenabdallah.indicatorscmp"
+ minSdk = libs.versions.android.minSdk.get().toInt()
+ targetSdk = libs.versions.android.targetSdk.get().toInt()
+ versionCode = 1
+ versionName = "1.0"
+ }
+
+ buildFeatures {
+ compose = true
+ }
+ composeOptions {
+ kotlinCompilerExtensionVersion = "1.5.4"
+ }
+
+ packaging {
+ resources {
+ excludes += "/META-INF/{AL2.0,LGPL2.1}"
+ }
+ }
+ buildTypes {
+ getByName("release") {
+ isMinifyEnabled = false
+ }
+ }
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ }
+
+ dependencies {
+
+ }
+}
diff --git a/examples/Indicators/composeApp/src/androidMain/AndroidManifest.xml b/examples/Indicators/composeApp/src/androidMain/AndroidManifest.xml
new file mode 100644
index 00000000000..51d50fa0908
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/AndroidManifest.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/androidMain/ic_launcher-playstore.png b/examples/Indicators/composeApp/src/androidMain/ic_launcher-playstore.png
new file mode 100644
index 00000000000..84a54176c23
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/ic_launcher-playstore.png differ
diff --git a/examples/Indicators/composeApp/src/androidMain/kotlin/Platform.android.kt b/examples/Indicators/composeApp/src/androidMain/kotlin/Platform.android.kt
new file mode 100644
index 00000000000..c97d96a4d00
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/kotlin/Platform.android.kt
@@ -0,0 +1,5 @@
+class AndroidPlatform : Platform {
+ override val name: String = "Android ${android.os.Build.VERSION.SDK_INT}"
+}
+
+actual fun getPlatform(): Platform = AndroidPlatform()
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/androidMain/kotlin/com/ibenabdallah/indicatorscmp/MainActivity.kt b/examples/Indicators/composeApp/src/androidMain/kotlin/com/ibenabdallah/indicatorscmp/MainActivity.kt
new file mode 100644
index 00000000000..39e917426bb
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/kotlin/com/ibenabdallah/indicatorscmp/MainActivity.kt
@@ -0,0 +1,49 @@
+package com.ibenabdallah.indicatorscmp
+
+import App
+import Indicators
+import android.os.Bundle
+import androidx.activity.ComponentActivity
+import androidx.activity.compose.setContent
+import androidx.compose.foundation.background
+import androidx.compose.foundation.layout.padding
+import androidx.compose.runtime.Composable
+import androidx.compose.ui.Modifier
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.tooling.preview.Preview
+import androidx.compose.ui.unit.dp
+import config.IIndicatorsTheme
+
+class MainActivity : ComponentActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+
+ setContent {
+ App()
+ }
+ }
+}
+
+@Preview(showBackground = true)
+@Composable
+fun AppAndroidPreview() {
+ App()
+}
+
+@Preview(showBackground = true)
+@Composable
+fun IndicatorsPreview() {
+ IIndicatorsTheme {
+ Indicators(
+ count = 7,
+ size = 10,
+ spacer = 5,
+ selectedColor = Color.Red,
+ unselectedColor = Color.Blue,
+ modifier = Modifier
+ .background(Color.White)
+ .padding(vertical = 5.dp),
+ selectedIndex = 2
+ )
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/androidMain/res/drawable/ic_launcher_background.xml b/examples/Indicators/composeApp/src/androidMain/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000000..ca3826a46ce
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml b/examples/Indicators/composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000000..c4a603d4cce
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml b/examples/Indicators/composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000000..c4a603d4cce
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 00000000000..d76a398a198
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_foreground.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000000..24dae4becb9
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_foreground.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.webp
new file mode 100644
index 00000000000..b7b7612c9ce
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-hdpi/ic_launcher_round.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 00000000000..b6d1813ba5a
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_foreground.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000000..7a755809191
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_foreground.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.webp
new file mode 100644
index 00000000000..1216167d206
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-mdpi/ic_launcher_round.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 00000000000..ba84fc1b5ef
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_foreground.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000000..9243f5a64e2
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_foreground.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000000..9ce9d7754f0
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 00000000000..e8e03bf8be7
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_foreground.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000000..7d83f569b86
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_foreground.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000000..a242730c6c6
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 00000000000..3f6e0fc622e
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_foreground.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
new file mode 100644
index 00000000000..5176cc70e03
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_foreground.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.webp b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000000..4571f40a66f
Binary files /dev/null and b/examples/Indicators/composeApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.webp differ
diff --git a/examples/Indicators/composeApp/src/androidMain/res/values/strings.xml b/examples/Indicators/composeApp/src/androidMain/res/values/strings.xml
new file mode 100644
index 00000000000..ce05cc60e51
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Indicators Compose Multiplatform
+
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/androidMain/res/values/styles.xml b/examples/Indicators/composeApp/src/androidMain/res/values/styles.xml
new file mode 100644
index 00000000000..152d8ba1bac
--- /dev/null
+++ b/examples/Indicators/composeApp/src/androidMain/res/values/styles.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/kotlin/App.kt b/examples/Indicators/composeApp/src/commonMain/kotlin/App.kt
new file mode 100644
index 00000000000..4b1c1010597
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/kotlin/App.kt
@@ -0,0 +1,111 @@
+import androidx.compose.foundation.ExperimentalFoundationApi
+import androidx.compose.foundation.background
+import androidx.compose.foundation.layout.Box
+import androidx.compose.foundation.layout.Row
+import androidx.compose.foundation.layout.fillMaxSize
+import androidx.compose.foundation.layout.fillMaxWidth
+import androidx.compose.foundation.layout.padding
+import androidx.compose.foundation.pager.HorizontalPager
+import androidx.compose.foundation.pager.rememberPagerState
+import androidx.compose.foundation.shape.RoundedCornerShape
+import androidx.compose.material3.Button
+import androidx.compose.material3.Icon
+import androidx.compose.material3.MaterialTheme
+import androidx.compose.material3.Text
+import androidx.compose.runtime.Composable
+import androidx.compose.runtime.rememberCoroutineScope
+import androidx.compose.ui.Alignment
+import androidx.compose.ui.Modifier
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.text.style.TextAlign
+import androidx.compose.ui.unit.TextUnit
+import androidx.compose.ui.unit.TextUnitType
+import androidx.compose.ui.unit.dp
+import config.PurpleGrey40
+import config.UIScreen
+import kotlinx.coroutines.launch
+import org.jetbrains.compose.resources.ExperimentalResourceApi
+import org.jetbrains.compose.resources.painterResource
+
+@OptIn(ExperimentalResourceApi::class, ExperimentalFoundationApi::class)
+@Composable
+fun App() = UIScreen {
+
+ val count = 7
+ val pagerState = rememberPagerState(pageCount = { count })
+ val coroutineScope = rememberCoroutineScope()
+
+ Box(modifier = Modifier.fillMaxSize()) {
+
+ Box(modifier = Modifier.padding(bottom = 76.dp).fillMaxSize()) {
+ HorizontalPager(state = pagerState) { page ->
+ // Our page content
+ Box(
+ modifier = Modifier.padding(10.dp).fillMaxSize().background(
+ color = MaterialTheme.colorScheme.primary,
+ shape = RoundedCornerShape(10.dp)
+ )
+ ) {
+ Text(
+ text = "Page : ${page + 1}",
+ fontSize = TextUnit(50f, TextUnitType.Sp),
+ textAlign = TextAlign.Center,
+ color = Color.White,
+ modifier = Modifier.fillMaxWidth().align(alignment = Alignment.Center)
+ )
+ }
+ }
+ }
+
+ Row(
+ modifier = Modifier.align(alignment = Alignment.BottomCenter).padding(vertical = 16.dp),
+ verticalAlignment = Alignment.CenterVertically
+ ) {
+
+ Button(
+ onClick = {
+ val position =
+ if (pagerState.currentPage != 0) pagerState.currentPage - 1 else count - 1
+ coroutineScope.launch {
+ // Call scroll to on pagerState
+ pagerState.animateScrollToPage(position)
+ }
+ },
+ modifier = Modifier.padding(horizontal = 16.dp).weight(3f)
+ ) {
+ Icon(
+ painter = painterResource("ic_arrow_back_24.xml"),
+ contentDescription = ""
+ )
+ }
+
+ Indicators(
+ count = count,
+ size = 10,
+ spacer = 5,
+ selectedColor = Color.Red,
+ unselectedColor = PurpleGrey40,
+ selectedIndex = pagerState.currentPage,
+ selectedLength = 50,
+ modifier = Modifier.weight(4f)
+ )
+
+ Button(
+ onClick = {
+ val position =
+ if (pagerState.currentPage != (count - 1)) pagerState.currentPage + 1 else 0
+ coroutineScope.launch {
+ // Call scroll to on pagerState
+ pagerState.animateScrollToPage(position)
+ }
+ },
+ modifier = Modifier.padding(horizontal = 16.dp).weight(3f)
+ ) {
+ Icon(
+ painter = painterResource("ic_arrow_forward_24.xml"),
+ contentDescription = ""
+ )
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/kotlin/Greeting.kt b/examples/Indicators/composeApp/src/commonMain/kotlin/Greeting.kt
new file mode 100644
index 00000000000..911c01af1fd
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/kotlin/Greeting.kt
@@ -0,0 +1,8 @@
+class Greeting {
+ private val platform: Platform = getPlatform()
+
+ fun greet(): String {
+ return "Hello Ismail \n" +
+ "${platform.name}!"
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/kotlin/Indicator.kt b/examples/Indicators/composeApp/src/commonMain/kotlin/Indicator.kt
new file mode 100644
index 00000000000..e0c3af7293d
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/kotlin/Indicator.kt
@@ -0,0 +1,71 @@
+import androidx.compose.animation.animateColorAsState
+import androidx.compose.animation.core.animateDpAsState
+import androidx.compose.animation.core.tween
+import androidx.compose.foundation.background
+import androidx.compose.foundation.layout.*
+import androidx.compose.foundation.shape.CircleShape
+import androidx.compose.runtime.Composable
+import androidx.compose.runtime.getValue
+import androidx.compose.ui.Alignment
+import androidx.compose.ui.Modifier
+import androidx.compose.ui.draw.clip
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.unit.Dp
+import androidx.compose.ui.unit.dp
+
+@Composable
+fun Indicators(
+ count: Int,
+ size: Int,
+ spacer: Int,
+ selectedColor: Color,
+ unselectedColor: Color,
+ modifier: Modifier = Modifier,
+ selectedIndex: Int = 0,
+ selectedLength: Int = 50
+) {
+ Row(
+ modifier = modifier,
+ verticalAlignment = Alignment.CenterVertically,
+ horizontalArrangement = Arrangement.Center
+ ) {
+ repeat(count) {
+ val isSelected = selectedIndex == it
+ IndicatorView(
+ isSelected = isSelected,
+ spacer = spacer,
+ size = size,
+ selectedLength = selectedLength,
+ selectedColor = selectedColor,
+ unselectedColor = unselectedColor
+ )
+ }
+ }
+}
+
+@Composable
+private fun IndicatorView(
+ isSelected: Boolean,
+ spacer: Int,
+ size: Int,
+ selectedLength: Int,
+ selectedColor: Color,
+ unselectedColor: Color
+) {
+ val color: Color by animateColorAsState(
+ targetValue = if (isSelected) selectedColor else unselectedColor,
+ animationSpec = tween(durationMillis = 1000)
+ )
+ val width: Dp by animateDpAsState(
+ targetValue = if (isSelected) selectedLength.dp else size.dp,
+ animationSpec = tween(durationMillis = 1000)
+ )
+
+ Box(
+ modifier = Modifier
+ .padding(horizontal = spacer.dp / 2)
+ .size(width = width, height = size.dp)
+ .clip(CircleShape)
+ .background(color)
+ )
+}
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/kotlin/Platform.kt b/examples/Indicators/composeApp/src/commonMain/kotlin/Platform.kt
new file mode 100644
index 00000000000..87ca3fff8f1
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/kotlin/Platform.kt
@@ -0,0 +1,5 @@
+interface Platform {
+ val name: String
+}
+
+expect fun getPlatform(): Platform
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/kotlin/config/Color.kt b/examples/Indicators/composeApp/src/commonMain/kotlin/config/Color.kt
new file mode 100644
index 00000000000..eb3a025e7b7
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/kotlin/config/Color.kt
@@ -0,0 +1,11 @@
+package config
+
+import androidx.compose.ui.graphics.Color
+
+val Purple80 = Color(0xFFD0BCFF)
+val PurpleGrey80 = Color(0xFFCCC2DC)
+val Pink80 = Color(0xFFEFB8C8)
+
+val Purple40 = Color(0xFF6650a4)
+val PurpleGrey40 = Color(0xFF625b71)
+val Pink40 = Color(0xFF7D5260)
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/kotlin/config/Theme.kt b/examples/Indicators/composeApp/src/commonMain/kotlin/config/Theme.kt
new file mode 100644
index 00000000000..63e9e9af8fc
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/kotlin/config/Theme.kt
@@ -0,0 +1,69 @@
+package config
+
+import androidx.compose.foundation.isSystemInDarkTheme
+import androidx.compose.foundation.layout.Box
+import androidx.compose.foundation.layout.padding
+import androidx.compose.material3.*
+import androidx.compose.runtime.Composable
+import androidx.compose.ui.Modifier
+
+private val DarkColorScheme = darkColorScheme(
+ primary = Purple80,
+ secondary = PurpleGrey80,
+ tertiary = Pink80
+)
+
+private val LightColorScheme = lightColorScheme(
+ primary = Purple40,
+ secondary = PurpleGrey40,
+ tertiary = Pink40
+
+ /* Other default colors to override
+ background = Color(0xFFFFFBFE),
+ surface = Color(0xFFFFFBFE),
+ onPrimary = Color.White,
+ onSecondary = Color.White,
+ onTertiary = Color.White,
+ onBackground = Color(0xFF1C1B1F),
+ onSurface = Color(0xFF1C1B1F),
+ */
+)
+
+@Composable
+fun IIndicatorsTheme(
+ darkTheme: Boolean = isSystemInDarkTheme(),
+ content: @Composable () -> Unit
+) {
+ val colorScheme = when {
+ darkTheme -> DarkColorScheme
+ else -> LightColorScheme
+ }
+
+ MaterialTheme(
+ colorScheme = colorScheme,
+ typography = Typography,
+ content = content
+ )
+}
+
+@OptIn(ExperimentalMaterial3Api::class)
+@Composable
+fun UIScreen(content: @Composable () -> Unit) {
+ IIndicatorsTheme {
+ Scaffold(
+ topBar = {
+ TopAppBar(
+ title = { Text(text = "Indicators Compose Multiplatform") },
+ colors = TopAppBarDefaults.centerAlignedTopAppBarColors(
+ containerColor = MaterialTheme.colorScheme.primary,
+ titleContentColor = MaterialTheme.colorScheme.surface
+ )
+ )
+ }
+ ) { contentPadding ->
+ Box(modifier = Modifier.padding(contentPadding)) {
+ content()
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/kotlin/config/Type.kt b/examples/Indicators/composeApp/src/commonMain/kotlin/config/Type.kt
new file mode 100644
index 00000000000..e8879655bdf
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/kotlin/config/Type.kt
@@ -0,0 +1,34 @@
+package config
+
+import androidx.compose.material3.Typography
+import androidx.compose.ui.text.TextStyle
+import androidx.compose.ui.text.font.FontFamily
+import androidx.compose.ui.text.font.FontWeight
+import androidx.compose.ui.unit.sp
+
+// Set of Material typography styles to start with
+val Typography = Typography(
+ bodyLarge = TextStyle(
+ fontFamily = FontFamily.Default,
+ fontWeight = FontWeight.Normal,
+ fontSize = 16.sp,
+ lineHeight = 24.sp,
+ letterSpacing = 0.5.sp
+ )
+ /* Other default text styles to override
+ titleLarge = TextStyle(
+ fontFamily = FontFamily.Default,
+ fontWeight = FontWeight.Normal,
+ fontSize = 22.sp,
+ lineHeight = 28.sp,
+ letterSpacing = 0.sp
+ ),
+ labelSmall = TextStyle(
+ fontFamily = FontFamily.Default,
+ fontWeight = FontWeight.Medium,
+ fontSize = 11.sp,
+ lineHeight = 16.sp,
+ letterSpacing = 0.5.sp
+ )
+ */
+)
\ No newline at end of file
diff --git a/examples/Indicators/composeApp/src/commonMain/resources/ic_arrow_back_24.xml b/examples/Indicators/composeApp/src/commonMain/resources/ic_arrow_back_24.xml
new file mode 100644
index 00000000000..094458db2ed
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/resources/ic_arrow_back_24.xml
@@ -0,0 +1,11 @@
+
+
+
diff --git a/examples/Indicators/composeApp/src/commonMain/resources/ic_arrow_forward_24.xml b/examples/Indicators/composeApp/src/commonMain/resources/ic_arrow_forward_24.xml
new file mode 100644
index 00000000000..98dd6d4dc0a
--- /dev/null
+++ b/examples/Indicators/composeApp/src/commonMain/resources/ic_arrow_forward_24.xml
@@ -0,0 +1,11 @@
+
+
+
diff --git a/examples/Indicators/composeApp/src/iosMain/kotlin/MainViewController.kt b/examples/Indicators/composeApp/src/iosMain/kotlin/MainViewController.kt
new file mode 100644
index 00000000000..f48388487d7
--- /dev/null
+++ b/examples/Indicators/composeApp/src/iosMain/kotlin/MainViewController.kt
@@ -0,0 +1,3 @@
+import androidx.compose.ui.window.ComposeUIViewController
+
+fun MainViewController() = ComposeUIViewController { App() }
diff --git a/examples/Indicators/composeApp/src/iosMain/kotlin/Platform.ios.kt b/examples/Indicators/composeApp/src/iosMain/kotlin/Platform.ios.kt
new file mode 100644
index 00000000000..5cef987c785
--- /dev/null
+++ b/examples/Indicators/composeApp/src/iosMain/kotlin/Platform.ios.kt
@@ -0,0 +1,7 @@
+import platform.UIKit.UIDevice
+
+class IOSPlatform: Platform {
+ override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
+}
+
+actual fun getPlatform(): Platform = IOSPlatform()
\ No newline at end of file
diff --git a/examples/Indicators/gradle.properties b/examples/Indicators/gradle.properties
new file mode 100644
index 00000000000..5ad9afe48a1
--- /dev/null
+++ b/examples/Indicators/gradle.properties
@@ -0,0 +1,18 @@
+#Gradle
+org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M"
+#org.gradle.caching=true
+#org.gradle.configuration-cache=true
+
+#Kotlin
+kotlin.code.style=official
+
+#Android
+android.useAndroidX=true
+android.nonTransitiveRClass=true
+
+#MPP
+kotlin.mpp.androidSourceSetLayoutVersion=2
+kotlin.mpp.enableCInteropCommonization=true
+
+#Development
+development=true
\ No newline at end of file
diff --git a/examples/Indicators/gradle/libs.versions.toml b/examples/Indicators/gradle/libs.versions.toml
new file mode 100644
index 00000000000..947acdcd073
--- /dev/null
+++ b/examples/Indicators/gradle/libs.versions.toml
@@ -0,0 +1,23 @@
+[versions]
+android-compileSdk = "34"
+android-minSdk = "26"
+android-targetSdk = "34"
+
+agp = "8.2.1"
+kotlin = "1.9.21"
+compose = "1.5.4"
+compose-plugin = "1.5.11"
+androidx-activityCompose = "1.8.2"
+
+[libraries]
+kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
+androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }
+compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
+compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
+
+
+[plugins]
+androidApplication = { id = "com.android.application", version.ref = "agp" }
+androidLibrary = { id = "com.android.library", version.ref = "agp" }
+kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
+jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "compose-plugin" }
diff --git a/examples/Indicators/gradle/wrapper/gradle-wrapper.jar b/examples/Indicators/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 00000000000..e708b1c023e
Binary files /dev/null and b/examples/Indicators/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/examples/Indicators/gradle/wrapper/gradle-wrapper.properties b/examples/Indicators/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000000..20464f8ef2d
--- /dev/null
+++ b/examples/Indicators/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Jan 12 10:52:01 CET 2024
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/examples/Indicators/gradlew b/examples/Indicators/gradlew
new file mode 100755
index 00000000000..4f906e0c811
--- /dev/null
+++ b/examples/Indicators/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=`expr $i + 1`
+ done
+ case $i in
+ 0) set -- ;;
+ 1) set -- "$args0" ;;
+ 2) set -- "$args0" "$args1" ;;
+ 3) set -- "$args0" "$args1" "$args2" ;;
+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=`save "$@"`
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+exec "$JAVACMD" "$@"
diff --git a/examples/Indicators/gradlew.bat b/examples/Indicators/gradlew.bat
new file mode 100644
index 00000000000..ac1b06f9382
--- /dev/null
+++ b/examples/Indicators/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/examples/Indicators/iosApp/configuration/Config.xcconfig b/examples/Indicators/iosApp/configuration/Config.xcconfig
new file mode 100644
index 00000000000..654fcad52e8
--- /dev/null
+++ b/examples/Indicators/iosApp/configuration/Config.xcconfig
@@ -0,0 +1,3 @@
+TEAM_ID=
+BUNDLE_ID=com.ibenabdallah.indicatorscmp
+APP_NAME=Indicators Compose Multiplatform
\ No newline at end of file
diff --git a/examples/Indicators/iosApp/iosApp.xcodeproj/project.pbxproj b/examples/Indicators/iosApp/iosApp.xcodeproj/project.pbxproj
new file mode 100644
index 00000000000..03335de79b2
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp.xcodeproj/project.pbxproj
@@ -0,0 +1,403 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 50;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 058557BB273AAA24004C7B11 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 058557BA273AAA24004C7B11 /* Assets.xcassets */; };
+ 058557D9273AAEEB004C7B11 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */; };
+ 2152FB042600AC8F00CF470E /* iOSApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2152FB032600AC8F00CF470E /* iOSApp.swift */; };
+ 7555FF83242A565900829871 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7555FF82242A565900829871 /* ContentView.swift */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 7555FFB4242A642300829871 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 058557BA273AAA24004C7B11 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; };
+ 2152FB032600AC8F00CF470E /* iOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOSApp.swift; sourceTree = ""; };
+ 7555FF7B242A565900829871 /* Indicators-ComposeMultiplatform.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Indicators-ComposeMultiplatform.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 7555FF82242A565900829871 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; };
+ 7555FF8C242A565B00829871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ AB3632DC29227652001CCB65 /* Config.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 7555FF78242A565900829871 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 058557D7273AAEEB004C7B11 /* Preview Content */ = {
+ isa = PBXGroup;
+ children = (
+ 058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */,
+ );
+ path = "Preview Content";
+ sourceTree = "";
+ };
+ 7555FF72242A565900829871 = {
+ isa = PBXGroup;
+ children = (
+ AB1DB47929225F7C00F7AF9C /* Configuration */,
+ 7555FF7D242A565900829871 /* iosApp */,
+ 7555FF7C242A565900829871 /* Products */,
+ 7555FFB0242A642200829871 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 7555FF7C242A565900829871 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 7555FF7B242A565900829871 /* Indicators-ComposeMultiplatform.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 7555FF7D242A565900829871 /* iosApp */ = {
+ isa = PBXGroup;
+ children = (
+ 058557BA273AAA24004C7B11 /* Assets.xcassets */,
+ 7555FF82242A565900829871 /* ContentView.swift */,
+ 7555FF8C242A565B00829871 /* Info.plist */,
+ 2152FB032600AC8F00CF470E /* iOSApp.swift */,
+ 058557D7273AAEEB004C7B11 /* Preview Content */,
+ );
+ path = iosApp;
+ sourceTree = "";
+ };
+ 7555FFB0242A642200829871 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ AB1DB47929225F7C00F7AF9C /* Configuration */ = {
+ isa = PBXGroup;
+ children = (
+ AB3632DC29227652001CCB65 /* Config.xcconfig */,
+ );
+ path = Configuration;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 7555FF7A242A565900829871 /* iosApp */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 7555FFA5242A565B00829871 /* Build configuration list for PBXNativeTarget "iosApp" */;
+ buildPhases = (
+ 7555FFB5242A651A00829871 /* ShellScript */,
+ 7555FF77242A565900829871 /* Sources */,
+ 7555FF78242A565900829871 /* Frameworks */,
+ 7555FF79242A565900829871 /* Resources */,
+ 7555FFB4242A642300829871 /* Embed Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = iosApp;
+ productName = iosApp;
+ productReference = 7555FF7B242A565900829871 /* Indicators-ComposeMultiplatform.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 7555FF73242A565900829871 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastSwiftUpdateCheck = 1130;
+ LastUpgradeCheck = 1130;
+ ORGANIZATIONNAME = orgName;
+ TargetAttributes = {
+ 7555FF7A242A565900829871 = {
+ CreatedOnToolsVersion = 11.3.1;
+ };
+ };
+ };
+ buildConfigurationList = 7555FF76242A565900829871 /* Build configuration list for PBXProject "iosApp" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 7555FF72242A565900829871;
+ productRefGroup = 7555FF7C242A565900829871 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 7555FF7A242A565900829871 /* iosApp */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 7555FF79242A565900829871 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 058557D9273AAEEB004C7B11 /* Preview Assets.xcassets in Resources */,
+ 058557BB273AAA24004C7B11 /* Assets.xcassets in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 7555FFB5242A651A00829871 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "if [ \"YES\" = \"$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED\" ]; then\n echo \"Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \\\"YES\\\"\"\n exit 0\nfi\ncd \"$SRCROOT/..\"\n./gradlew :composeApp:embedAndSignAppleFrameworkForXcode\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 7555FF77242A565900829871 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 2152FB042600AC8F00CF470E /* iOSApp.swift in Sources */,
+ 7555FF83242A565900829871 /* ContentView.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 7555FFA3242A565B00829871 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = AB3632DC29227652001CCB65 /* Config.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 14.1;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ };
+ name = Debug;
+ };
+ 7555FFA4242A565B00829871 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = AB3632DC29227652001CCB65 /* Config.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 14.1;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ SDKROOT = iphoneos;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 7555FFA6242A565B00829871 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
+ ENABLE_PREVIEWS = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)\n$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
+ );
+ INFOPLIST_FILE = iosApp/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 16.0;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-framework",
+ composeApp,
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}${TEAM_ID}";
+ PRODUCT_NAME = "${APP_NAME}";
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 7555FFA7242A565B00829871 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
+ ENABLE_PREVIEWS = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)\n$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
+ );
+ INFOPLIST_FILE = iosApp/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 16.0;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-framework",
+ composeApp,
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}${TEAM_ID}";
+ PRODUCT_NAME = "${APP_NAME}";
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 7555FF76242A565900829871 /* Build configuration list for PBXProject "iosApp" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 7555FFA3242A565B00829871 /* Debug */,
+ 7555FFA4242A565B00829871 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 7555FFA5242A565B00829871 /* Build configuration list for PBXNativeTarget "iosApp" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 7555FFA6242A565B00829871 /* Debug */,
+ 7555FFA7242A565B00829871 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 7555FF73242A565900829871 /* Project object */;
+}
diff --git a/examples/Indicators/iosApp/iosApp/Assets.xcassets/AccentColor.colorset/Contents.json b/examples/Indicators/iosApp/iosApp/Assets.xcassets/AccentColor.colorset/Contents.json
new file mode 100644
index 00000000000..ee7e3ca03f8
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp/Assets.xcassets/AccentColor.colorset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "colors" : [
+ {
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/Indicators/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000000..1bfcefec124
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,14 @@
+{
+ "images" : [
+ {
+ "filename" : "app_icon.png",
+ "idiom" : "universal",
+ "platform" : "ios",
+ "size" : "1024x1024"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app_icon.png b/examples/Indicators/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app_icon.png
new file mode 100644
index 00000000000..53fc536fb9a
Binary files /dev/null and b/examples/Indicators/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app_icon.png differ
diff --git a/examples/Indicators/iosApp/iosApp/Assets.xcassets/Contents.json b/examples/Indicators/iosApp/iosApp/Assets.xcassets/Contents.json
new file mode 100644
index 00000000000..4aa7c5350bf
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/iosApp/iosApp/ContentView.swift b/examples/Indicators/iosApp/iosApp/ContentView.swift
new file mode 100644
index 00000000000..ef8b57ae117
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp/ContentView.swift
@@ -0,0 +1,24 @@
+import UIKit
+import SwiftUI
+import ComposeApp
+
+struct ComposeView: UIViewControllerRepresentable {
+ func makeUIViewController(context: Context) -> UIViewController {
+ MainViewControllerKt.MainViewController()
+ }
+
+ func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
+}
+
+struct ContentView: View {
+ var body: some View {
+ ComposeView()
+ .ignoresSafeArea(.keyboard) // Compose has own keyboard handler
+ }
+}
+
+struct ContentView_Previews: PreviewProvider {
+ static var previews: some View {
+ ContentView()
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/iosApp/iosApp/Info.plist b/examples/Indicators/iosApp/iosApp/Info.plist
new file mode 100644
index 00000000000..8044709cfa7
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp/Info.plist
@@ -0,0 +1,48 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ $(PRODUCT_BUNDLE_PACKAGE_TYPE)
+ CFBundleShortVersionString
+ 1.0
+ CFBundleVersion
+ 1
+ LSRequiresIPhoneOS
+
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+
+ UIRequiredDeviceCapabilities
+
+ armv7
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UILaunchScreen
+
+
+
\ No newline at end of file
diff --git a/examples/Indicators/iosApp/iosApp/Preview Content/Preview Assets.xcassets/Contents.json b/examples/Indicators/iosApp/iosApp/Preview Content/Preview Assets.xcassets/Contents.json
new file mode 100644
index 00000000000..4aa7c5350bf
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp/Preview Content/Preview Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/iosApp/iosApp/iOSApp.swift b/examples/Indicators/iosApp/iosApp/iOSApp.swift
new file mode 100644
index 00000000000..0648e8602f2
--- /dev/null
+++ b/examples/Indicators/iosApp/iosApp/iOSApp.swift
@@ -0,0 +1,10 @@
+import SwiftUI
+
+@main
+struct iOSApp: App {
+ var body: some Scene {
+ WindowGroup {
+ ContentView()
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/Indicators/screenshots/Android-1.png b/examples/Indicators/screenshots/Android-1.png
new file mode 100644
index 00000000000..579d4be6a21
Binary files /dev/null and b/examples/Indicators/screenshots/Android-1.png differ
diff --git a/examples/Indicators/screenshots/Android-2.png b/examples/Indicators/screenshots/Android-2.png
new file mode 100644
index 00000000000..97111139c17
Binary files /dev/null and b/examples/Indicators/screenshots/Android-2.png differ
diff --git a/examples/Indicators/screenshots/Android-3.png b/examples/Indicators/screenshots/Android-3.png
new file mode 100644
index 00000000000..780ec2bb597
Binary files /dev/null and b/examples/Indicators/screenshots/Android-3.png differ
diff --git a/examples/Indicators/screenshots/demo.gif b/examples/Indicators/screenshots/demo.gif
new file mode 100644
index 00000000000..34a3556ef29
Binary files /dev/null and b/examples/Indicators/screenshots/demo.gif differ
diff --git a/examples/Indicators/screenshots/iOS-1.png b/examples/Indicators/screenshots/iOS-1.png
new file mode 100644
index 00000000000..3e1ab4f64b4
Binary files /dev/null and b/examples/Indicators/screenshots/iOS-1.png differ
diff --git a/examples/Indicators/screenshots/iOS-2.png b/examples/Indicators/screenshots/iOS-2.png
new file mode 100644
index 00000000000..b19f83a8ad1
Binary files /dev/null and b/examples/Indicators/screenshots/iOS-2.png differ
diff --git a/examples/Indicators/screenshots/iOS-3.png b/examples/Indicators/screenshots/iOS-3.png
new file mode 100644
index 00000000000..217c464a9fe
Binary files /dev/null and b/examples/Indicators/screenshots/iOS-3.png differ
diff --git a/examples/Indicators/settings.gradle.kts b/examples/Indicators/settings.gradle.kts
new file mode 100644
index 00000000000..0f650cc8441
--- /dev/null
+++ b/examples/Indicators/settings.gradle.kts
@@ -0,0 +1,22 @@
+rootProject.name = "Indicators"
+
+enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
+pluginManagement {
+ repositories {
+ maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
+ google()
+ gradlePluginPortal()
+ mavenCentral()
+ }
+}
+
+dependencyResolutionManagement {
+ repositories {
+ google()
+ mavenCentral()
+ maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
+ }
+}
+
+
+include(":composeApp")
diff --git a/examples/README.md b/examples/README.md
index 3d9d382898a..1bccb7f5569 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -1,13 +1,14 @@
# Samples
-| Sample | Description | Platforms |
-| ------------- |----------------------------------------------------------------------------------------------------| ------------- |
-| [Imageviewer](imageviewer) | Image Viewer application | Android, iOS, Desktop |
-| [Codeviewer](codeviewer) | File browser and code viewer application | Android, iOS, Desktop |
-| [Chat](chat) | A simple chat | Android, iOS, Desktop |
-| [Graphics2D](graphics-2d) | 2D Games and graphics examples | Android, iOS, Desktop |
-| [Widgets Gallery](widgets-gallery) | Gallery of standard widgets | Android, iOS, Desktop |
-| [Todoapp Lite](todoapp-lite) | A simple todo app fully based on Compose | Android, iOS, Desktop |
-| [Issues tracker](issues) | GitHub issue tracker with an adaptive UI and ktor-client | Android, Desktop |
-| [Notepad](notepad) | Notepad, using the Composable Window API | Desktop |
-| [IDEA plugin](intellij-plugin) | Plugin for IDEA using Compose for Desktop | Desktop |
-| [HTML based samples](html/README.md) | Examples written with Compose HTML Library |
\ No newline at end of file
+| Sample | Description | Platforms |
+|--------------------------------------|-----------------------------------------------------------------------| ------------ |
+| [Imageviewer](imageviewer) | Image Viewer application | Android, iOS, Desktop |
+| [Codeviewer](codeviewer) | File browser and code viewer application | Android, iOS, Desktop |
+| [Chat](chat) | A simple chat | Android, iOS, Desktop |
+| [Graphics2D](graphics-2d) | 2D Games and graphics examples | Android, iOS, Desktop |
+| [Widgets Gallery](widgets-gallery) | Gallery of standard widgets | Android, iOS, Desktop |
+| [Todoapp Lite](todoapp-lite) | A simple todo app fully based on Compose | Android, iOS, Desktop |
+| [Issues tracker](issues) | GitHub issue tracker with an adaptive UI and ktor-client | Android, Desktop |
+| [Notepad](notepad) | Notepad, using the Composable Window API | Desktop |
+| [IDEA plugin](intellij-plugin) | Plugin for IDEA using Compose for Desktop | Desktop |
+| [HTML based samples](html/README.md) | Examples written with Compose HTML Library |
+| [Indicators](Indicators) | A simple todo app pager and indicators based on Compose mutliplatform | Android, iOS |
\ No newline at end of file