Question Details

No question body available.

Tags

kotlin kotlin-multiplatform compose-multiplatform kmp kotlin-dataframe

Answers (3)

Accepted Answer Available
Accepted Answer
September 9, 2025 Score: 1 Rep: 1,754 Quality: Medium Completeness: 50%

I have found a solution to keep using datetime 0.7.1 and also use rememberDatePickerState().

I have commented material3 default library and used updated material3 library.

//implementation(compose.material3)
September 8, 2025 Score: 0 Rep: 37 Quality: Low Completeness: 20%

RememberDatePickerState crashes with kotlinx-datetime:0.7.1 because Compose Multiplatform Material3 still depends on an older unshaded version of kotlinx-datetime, so mixing in zero.7.X reasons runtime conflicts on Desktop/iOS. The safe workaround these days is to stay with kotlinx-datetime:0.6.X until Compose updates its dependency. You can still convert selectedDateMillis to a readable string manually the usage of platform-specific formatters (count on/real with SimpleDateFormat on Android and NSDateFormatter on iOS).

September 9, 2025 Score: 0 Rep: 11,420 Quality: Low Completeness: 20%

Use version 0.7.1-0.6.x-compat instead 0.7.1

Related github issue.