Skip to content

Releases: laetuz/Droidcore

Droidcore 1.3.1.4

Choose a tag to compare

@laetuz laetuz released this 03 Jun 14:48

Maven update.

Droidcore 1.3.1.3

Choose a tag to compare

@laetuz laetuz released this 03 Jun 13:20

Updated maven config.

Droidcore 1.3.1.2

Choose a tag to compare

@laetuz laetuz released this 03 Jun 12:57
714d9a9

The core changes involve restructuring the project to support common, Android, and iOS source sets. The build configurations have been updated significantly to incorporate the Kotlin Multiplatform and Compose Multiplatform Gradle plugins. Existing Compose components within the droidcore module have been adapted to work within the common source set, with platform-specific implementations provided where necessary (e.g., for Toast messages, Network Images, and Context handling). New components, such as FlipCard and CustomCarousel, have also been added or integrated into the common module. The sample application (app module) has been updated to demonstrate the multiplatform setup, including new entry points for Android and iOS.

Highlights

  • Kotlin Multiplatform Migration: The project has been migrated to Kotlin Multiplatform, enabling code sharing between Android and iOS platforms.
  • Compose Multiplatform Integration: Compose Multiplatform is now used for building the UI components in the common module, allowing the Droidcore library to provide Compose components for multiple platforms.
  • Project Structure Update: The project structure has been updated to include commonMain, androidMain, and iosMain source sets.
  • Component Adaptation and Addition: Existing Compose components have been adapted for the common module, and new components like FlipCard and CustomCarousel have been added. Platform-specific implementations are provided for certain functionalities.
  • Build Configuration Changes: Gradle build files (build.gradle.kts, settings.gradle.kts, libs.versions.toml, gradle.properties) have been extensively modified to support KMP and CMP, including dependency updates and plugin configurations.
  • iOS Application Setup: A new iosApp module has been added with necessary Xcode project files and Swift code to launch the Compose Multiplatform UI on iOS.

Changelog

Click here to see the changelog
  • .gitignore
    • Added .idea, .kotlin, and iOS user data directories to ignore list.
  • README.md
    • Updated library description to reflect Kotlin Multiplatform and Compose-Multiplatform.
    • Updated dependency version to 1.3.0.
    • Added 'Flipcard' and 'NeoToast' to the list of components.
  • app/build.gradle.kts
    • Applied kotlinMultiplatform, compose.compiler, and composeMultiplatform plugins.
    • Configured Android and iOS targets.
    • Defined source sets (androidMain, androidUnitTest, androidInstrumentedTest, iosMain, commonMain) and their dependencies.
    • Commented out old Android/Compose dependencies.
    • Set isMinifyEnabled to false for both debug and release build types.
    • Updated compileOptions source and target compatibility to JavaVersion.VERSION_11.
    • Added debugImplementation(compose.uiTooling).
  • app/src/androidMain/kotlin/id/neotica/droidcore/MainActivity.kt
    • Added new file for Android-specific MainActivity to host the common Compose UI.
  • app/src/commonMain/kotlin/id/neotica/droidcore/CommonApp.kt
    • Moved/adapted main application composable logic to CommonApp and TestContent in the common source set.
    • Removed Android-specific imports (android.content.res.Configuration, android.os.Bundle, androidx.activity.ComponentActivity, etc.).
    • Changed numberState from mutableIntStateOf to mutableLongStateOf.
    • Removed LocalContext usage.
    • Added state and logic for showing NeoToast.
    • Added NeoButton to trigger the alert dialog.
    • Removed preview functions (moved to androidMain).
  • app/src/iosMain/kotlin/id/neotica/droidcore/MainViewController.kt
    • Added new file for iOS entry point using ComposeUIViewController.
  • build.gradle.kts
    • Applied kotlinMultiplatform, compose.compiler, and composeMultiplatform plugins with apply false.
    • Commented out the old jetbrainsKotlinAndroid plugin.
  • droidcore/build.gradle.kts
    • Applied kotlinMultiplatform, composeMultiplatform, and compose.compiler plugins.
    • Configured Android and iOS targets.
    • Defined source sets (androidMain, commonMain, androidUnitTest, iosMain) and their dependencies.
    • Updated compileSdk to 36.
    • Commented out testInstrumentationRunner.
    • Removed composeOptions and kotlinOptions blocks.
    • Removed old Android/Compose dependencies.
    • Updated maven publish version to 1.3.0.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.android.kt
    • Added new file for Android-specific implementation of NeoToast using BasicAlertDialog.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.android.kt
    • Added new file for Android-specific implementation of AppContext.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.kt
    • Marked NetworkImage as actual.
  • droidcore/src/commonMain/composeResources/drawable/ic_check_circle.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_clear.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_info_filled.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_lock.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_warning_filled.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/lock_24dp.svg
    • Added new SVG drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/visibility_off.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/visibility_on.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/NeoAlert.kt
    • Updated AlertIcon usage to use painterResource from generated resources.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.kt
    • Added new file defining the expect fun NeoToast.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/dump/PrimaryAlert.kt
    • Commented out the entire file content.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/ButtonCard.kt
    • Added onClick() lambda call to the NeoButton.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/FlipCard.kt
    • Added new file implementing the FlipCard composable.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/deprecated/NeoCard.kt
    • Removed string interpolation for the title parameter.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/carousel/CustomCarousel.kt
    • Added new file implementing the CustomCarousel composable.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.kt
    • Added new file defining the expect object AppContext.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/icon/AlertIcon.kt
    • Changed icon parameter type from ImageVector to Painter and updated usage.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.kt
    • Added new file defining the expect fun NetworkImage and NetworkImageInterface.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/NeoTextField.kt
    • Added enabled parameter and applied it to OutlinedTextField.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/NumberField.kt
    • Changed value type from MutableState<Int> to MutableState<Long>.
    • Updated internal state handling and parsing logic.
    • Added Text to display the current number state.
    • Added KDoc.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/PasswordTextField.kt
    • Commented out old AndroidX icon imports.
    • Updated icon usage to use painterResource from generated resources.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/deprecated/PasswordTextFieldLegacy.kt
    • Commented out old AndroidX icon imports.
    • Added @Deprecated annotation.
    • Updated icon usage to use painterResource from generated resources.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.ios.kt
    • Added new file for iOS-specific implementation of NeoToast using BasicAlertDialog.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.ios.kt
    • Added new file for iOS-specific implementation of AppContext.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.ios.kt
    • Added new file for iOS-specific implementation of NetworkImage (currently displays URL as text).
  • droidcore/src/main/res/drawable/ic_check_circle.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_clear.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_info_filled.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_lock.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_warning_filled.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/visibility_off.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/visibility_on.xml
    • Added new Android vector drawable resource.
  • gradle.properties
    • Added kotlin.native.cacheKind=none.
  • gradle/libs.versions.toml
    • Updated AGP, Kotlin, Lifecycle, and Compose Multiplatform versions.
    • Removed AndroidX Compose BOM, appcompat, and materi...
Read more

Droidcore 1.3.1

Choose a tag to compare

@laetuz laetuz released this 03 Jun 12:55
714d9a9

The core changes involve restructuring the project to support common, Android, and iOS source sets. The build configurations have been updated significantly to incorporate the Kotlin Multiplatform and Compose Multiplatform Gradle plugins. Existing Compose components within the droidcore module have been adapted to work within the common source set, with platform-specific implementations provided where necessary (e.g., for Toast messages, Network Images, and Context handling). New components, such as FlipCard and CustomCarousel, have also been added or integrated into the common module. The sample application (app module) has been updated to demonstrate the multiplatform setup, including new entry points for Android and iOS.

Highlights

  • Kotlin Multiplatform Migration: The project has been migrated to Kotlin Multiplatform, enabling code sharing between Android and iOS platforms.
  • Compose Multiplatform Integration: Compose Multiplatform is now used for building the UI components in the common module, allowing the Droidcore library to provide Compose components for multiple platforms.
  • Project Structure Update: The project structure has been updated to include commonMain, androidMain, and iosMain source sets.
  • Component Adaptation and Addition: Existing Compose components have been adapted for the common module, and new components like FlipCard and CustomCarousel have been added. Platform-specific implementations are provided for certain functionalities.
  • Build Configuration Changes: Gradle build files (build.gradle.kts, settings.gradle.kts, libs.versions.toml, gradle.properties) have been extensively modified to support KMP and CMP, including dependency updates and plugin configurations.
  • iOS Application Setup: A new iosApp module has been added with necessary Xcode project files and Swift code to launch the Compose Multiplatform UI on iOS.

Changelog

Click here to see the changelog
  • .gitignore
    • Added .idea, .kotlin, and iOS user data directories to ignore list.
  • README.md
    • Updated library description to reflect Kotlin Multiplatform and Compose-Multiplatform.
    • Updated dependency version to 1.3.0.
    • Added 'Flipcard' and 'NeoToast' to the list of components.
  • app/build.gradle.kts
    • Applied kotlinMultiplatform, compose.compiler, and composeMultiplatform plugins.
    • Configured Android and iOS targets.
    • Defined source sets (androidMain, androidUnitTest, androidInstrumentedTest, iosMain, commonMain) and their dependencies.
    • Commented out old Android/Compose dependencies.
    • Set isMinifyEnabled to false for both debug and release build types.
    • Updated compileOptions source and target compatibility to JavaVersion.VERSION_11.
    • Added debugImplementation(compose.uiTooling).
  • app/src/androidMain/kotlin/id/neotica/droidcore/MainActivity.kt
    • Added new file for Android-specific MainActivity to host the common Compose UI.
  • app/src/commonMain/kotlin/id/neotica/droidcore/CommonApp.kt
    • Moved/adapted main application composable logic to CommonApp and TestContent in the common source set.
    • Removed Android-specific imports (android.content.res.Configuration, android.os.Bundle, androidx.activity.ComponentActivity, etc.).
    • Changed numberState from mutableIntStateOf to mutableLongStateOf.
    • Removed LocalContext usage.
    • Added state and logic for showing NeoToast.
    • Added NeoButton to trigger the alert dialog.
    • Removed preview functions (moved to androidMain).
  • app/src/iosMain/kotlin/id/neotica/droidcore/MainViewController.kt
    • Added new file for iOS entry point using ComposeUIViewController.
  • build.gradle.kts
    • Applied kotlinMultiplatform, compose.compiler, and composeMultiplatform plugins with apply false.
    • Commented out the old jetbrainsKotlinAndroid plugin.
  • droidcore/build.gradle.kts
    • Applied kotlinMultiplatform, composeMultiplatform, and compose.compiler plugins.
    • Configured Android and iOS targets.
    • Defined source sets (androidMain, commonMain, androidUnitTest, iosMain) and their dependencies.
    • Updated compileSdk to 36.
    • Commented out testInstrumentationRunner.
    • Removed composeOptions and kotlinOptions blocks.
    • Removed old Android/Compose dependencies.
    • Updated maven publish version to 1.3.0.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.android.kt
    • Added new file for Android-specific implementation of NeoToast using BasicAlertDialog.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.android.kt
    • Added new file for Android-specific implementation of AppContext.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.kt
    • Marked NetworkImage as actual.
  • droidcore/src/commonMain/composeResources/drawable/ic_check_circle.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_clear.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_info_filled.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_lock.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_warning_filled.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/lock_24dp.svg
    • Added new SVG drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/visibility_off.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/visibility_on.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/NeoAlert.kt
    • Updated AlertIcon usage to use painterResource from generated resources.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.kt
    • Added new file defining the expect fun NeoToast.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/dump/PrimaryAlert.kt
    • Commented out the entire file content.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/ButtonCard.kt
    • Added onClick() lambda call to the NeoButton.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/FlipCard.kt
    • Added new file implementing the FlipCard composable.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/deprecated/NeoCard.kt
    • Removed string interpolation for the title parameter.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/carousel/CustomCarousel.kt
    • Added new file implementing the CustomCarousel composable.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.kt
    • Added new file defining the expect object AppContext.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/icon/AlertIcon.kt
    • Changed icon parameter type from ImageVector to Painter and updated usage.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.kt
    • Added new file defining the expect fun NetworkImage and NetworkImageInterface.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/NeoTextField.kt
    • Added enabled parameter and applied it to OutlinedTextField.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/NumberField.kt
    • Changed value type from MutableState<Int> to MutableState<Long>.
    • Updated internal state handling and parsing logic.
    • Added Text to display the current number state.
    • Added KDoc.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/PasswordTextField.kt
    • Commented out old AndroidX icon imports.
    • Updated icon usage to use painterResource from generated resources.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/deprecated/PasswordTextFieldLegacy.kt
    • Commented out old AndroidX icon imports.
    • Added @Deprecated annotation.
    • Updated icon usage to use painterResource from generated resources.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.ios.kt
    • Added new file for iOS-specific implementation of NeoToast using BasicAlertDialog.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.ios.kt
    • Added new file for iOS-specific implementation of AppContext.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.ios.kt
    • Added new file for iOS-specific implementation of NetworkImage (currently displays URL as text).
  • droidcore/src/main/res/drawable/ic_check_circle.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_clear.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_info_filled.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_lock.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_warning_filled.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/visibility_off.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/visibility_on.xml
    • Added new Android vector drawable resource.
  • gradle.properties
    • Added kotlin.native.cacheKind=none.
  • gradle/libs.versions.toml
    • Updated AGP, Kotlin, Lifecycle, and Compose Multiplatform versions.
    • Removed AndroidX Compose BOM, appcompat, and materi...
Read more

Droidcore 1.3.1

Choose a tag to compare

@laetuz laetuz released this 03 Jun 12:51

The core changes involve restructuring the project to support common, Android, and iOS source sets. The build configurations have been updated significantly to incorporate the Kotlin Multiplatform and Compose Multiplatform Gradle plugins. Existing Compose components within the droidcore module have been adapted to work within the common source set, with platform-specific implementations provided where necessary (e.g., for Toast messages, Network Images, and Context handling). New components, such as FlipCard and CustomCarousel, have also been added or integrated into the common module. The sample application (app module) has been updated to demonstrate the multiplatform setup, including new entry points for Android and iOS.

Highlights

  • Kotlin Multiplatform Migration: The project has been migrated to Kotlin Multiplatform, enabling code sharing between Android and iOS platforms.
  • Compose Multiplatform Integration: Compose Multiplatform is now used for building the UI components in the common module, allowing the Droidcore library to provide Compose components for multiple platforms.
  • Project Structure Update: The project structure has been updated to include commonMain, androidMain, and iosMain source sets.
  • Component Adaptation and Addition: Existing Compose components have been adapted for the common module, and new components like FlipCard and CustomCarousel have been added. Platform-specific implementations are provided for certain functionalities.
  • Build Configuration Changes: Gradle build files (build.gradle.kts, settings.gradle.kts, libs.versions.toml, gradle.properties) have been extensively modified to support KMP and CMP, including dependency updates and plugin configurations.
  • iOS Application Setup: A new iosApp module has been added with necessary Xcode project files and Swift code to launch the Compose Multiplatform UI on iOS.

Changelog

Click here to see the changelog
  • .gitignore
    • Added .idea, .kotlin, and iOS user data directories to ignore list.
  • README.md
    • Updated library description to reflect Kotlin Multiplatform and Compose-Multiplatform.
    • Updated dependency version to 1.3.0.
    • Added 'Flipcard' and 'NeoToast' to the list of components.
  • app/build.gradle.kts
    • Applied kotlinMultiplatform, compose.compiler, and composeMultiplatform plugins.
    • Configured Android and iOS targets.
    • Defined source sets (androidMain, androidUnitTest, androidInstrumentedTest, iosMain, commonMain) and their dependencies.
    • Commented out old Android/Compose dependencies.
    • Set isMinifyEnabled to false for both debug and release build types.
    • Updated compileOptions source and target compatibility to JavaVersion.VERSION_11.
    • Added debugImplementation(compose.uiTooling).
  • app/src/androidMain/kotlin/id/neotica/droidcore/MainActivity.kt
    • Added new file for Android-specific MainActivity to host the common Compose UI.
  • app/src/commonMain/kotlin/id/neotica/droidcore/CommonApp.kt
    • Moved/adapted main application composable logic to CommonApp and TestContent in the common source set.
    • Removed Android-specific imports (android.content.res.Configuration, android.os.Bundle, androidx.activity.ComponentActivity, etc.).
    • Changed numberState from mutableIntStateOf to mutableLongStateOf.
    • Removed LocalContext usage.
    • Added state and logic for showing NeoToast.
    • Added NeoButton to trigger the alert dialog.
    • Removed preview functions (moved to androidMain).
  • app/src/iosMain/kotlin/id/neotica/droidcore/MainViewController.kt
    • Added new file for iOS entry point using ComposeUIViewController.
  • build.gradle.kts
    • Applied kotlinMultiplatform, compose.compiler, and composeMultiplatform plugins with apply false.
    • Commented out the old jetbrainsKotlinAndroid plugin.
  • droidcore/build.gradle.kts
    • Applied kotlinMultiplatform, composeMultiplatform, and compose.compiler plugins.
    • Configured Android and iOS targets.
    • Defined source sets (androidMain, commonMain, androidUnitTest, iosMain) and their dependencies.
    • Updated compileSdk to 36.
    • Commented out testInstrumentationRunner.
    • Removed composeOptions and kotlinOptions blocks.
    • Removed old Android/Compose dependencies.
    • Updated maven publish version to 1.3.0.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.android.kt
    • Added new file for Android-specific implementation of NeoToast using BasicAlertDialog.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.android.kt
    • Added new file for Android-specific implementation of AppContext.
  • droidcore/src/androidMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.kt
    • Marked NetworkImage as actual.
  • droidcore/src/commonMain/composeResources/drawable/ic_check_circle.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_clear.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_info_filled.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_lock.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/ic_warning_filled.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/lock_24dp.svg
    • Added new SVG drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/visibility_off.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/composeResources/drawable/visibility_on.xml
    • Added new vector drawable resource.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/NeoAlert.kt
    • Updated AlertIcon usage to use painterResource from generated resources.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.kt
    • Added new file defining the expect fun NeoToast.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/alert/dump/PrimaryAlert.kt
    • Commented out the entire file content.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/ButtonCard.kt
    • Added onClick() lambda call to the NeoButton.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/FlipCard.kt
    • Added new file implementing the FlipCard composable.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/cards/deprecated/NeoCard.kt
    • Removed string interpolation for the title parameter.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/carousel/CustomCarousel.kt
    • Added new file implementing the CustomCarousel composable.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.kt
    • Added new file defining the expect object AppContext.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/icon/AlertIcon.kt
    • Changed icon parameter type from ImageVector to Painter and updated usage.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.kt
    • Added new file defining the expect fun NetworkImage and NetworkImageInterface.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/NeoTextField.kt
    • Added enabled parameter and applied it to OutlinedTextField.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/NumberField.kt
    • Changed value type from MutableState<Int> to MutableState<Long>.
    • Updated internal state handling and parsing logic.
    • Added Text to display the current number state.
    • Added KDoc.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/PasswordTextField.kt
    • Commented out old AndroidX icon imports.
    • Updated icon usage to use painterResource from generated resources.
  • droidcore/src/commonMain/kotlin/id/neotica/droidcore/component/textfield/deprecated/PasswordTextFieldLegacy.kt
    • Commented out old AndroidX icon imports.
    • Added @Deprecated annotation.
    • Updated icon usage to use painterResource from generated resources.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/alert/NeoToast.ios.kt
    • Added new file for iOS-specific implementation of NeoToast using BasicAlertDialog.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/context/ContextPlatform.ios.kt
    • Added new file for iOS-specific implementation of AppContext.
  • droidcore/src/iosMain/kotlin/id/neotica/droidcore/component/image/NetworkImage.ios.kt
    • Added new file for iOS-specific implementation of NetworkImage (currently displays URL as text).
  • droidcore/src/main/res/drawable/ic_check_circle.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_clear.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_info_filled.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_lock.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/ic_warning_filled.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/visibility_off.xml
    • Added new Android vector drawable resource.
  • droidcore/src/main/res/drawable/visibility_on.xml
    • Added new Android vector drawable resource.
  • gradle.properties
    • Added kotlin.native.cacheKind=none.
  • gradle/libs.versions.toml
    • Updated AGP, Kotlin, Lifecycle, and Compose Multiplatform versions.
    • Removed AndroidX Compose BOM, appcompat, and materi...
Read more

Droidcore 1.2.6

Choose a tag to compare

@laetuz laetuz released this 16 Nov 15:44

What's Changed

Changelog:

  • Refactored NumberField to value from Int to Long.
  • Fixed NumberField bugs that causes force close.
  • Fixed ButtonCard's onClick bug.
  • Updated .gitignore and deleted some ignored file.
  • Updated AGP from 8.5.1 to 8.7.2
  • Updated composeBom from 2024.10.00 to 2024.11.00
  • Updated appcompat from 1.6.1 to 1.7.0
  • Updated material from 1.11.0 to 1.12.0
  • Updated library version to 1.2.6

Droidcore 1.2.5

Choose a tag to compare

@laetuz laetuz released this 28 Oct 07:17
9d5b0ea

Changelog:

  • Updated min and targetSdk on MainActivity.
  • Updated MainActivity sample.
  • Updated composeBOM from 2023.08.00 to 2024.10.00
  • Removed padding on ButtonCard.
  • Optimized and fixed bugs on Pocket.
  • Added Password type to PasswordTextField.
  • Added imeAction parameter to NeoTextField, PasswordTextField, and NumberField.
  • Added NeoButton as a new component.
  • Added NumberField, a number only textField.
  • Added NetworkImage to get Image from URL fast. (testing use only, because i hadn't implemented the caching mechanism. Simply just use Coil for general Image fetching.)
  • Updated README.
  • Updated to version 1.2.5

Droidcore by Neotica

Choose a tag to compare

@laetuz laetuz released this 22 Aug 05:49
77e498d

Big update and big bug fixes. Now you can use this library properly. Added labels to Neotextfield.

What's Changed

New Contributors

  • @laetuz made their first contribution in #1

Full Changelog: 1.0.4.1...1.2.4

Droidcore by Neotica

Choose a tag to compare

@laetuz laetuz released this 16 Jul 03:37

Fixed bug, reverted to kotlin 1.9.0

Full Changelog: 1.2.2...1.2.3

Droidcore by Neotica

Choose a tag to compare

@laetuz laetuz released this 15 Jul 18:49

Upgraded to kotlin 2.0, and agp.

What's Changed

Full Changelog: 1.2.1...1.2.2