https://kotlinlang.org
Join Slack
Hi i can delete TextField padding, i am using a OutlinedTextField
a

Android75

almost 3 years ago
Hi i can delete TextField padding, i am using a OutlinedTextField
a
i
m
  • 3
  • 9
  • 2376
how to mock companion object?
g

gouravkundu

over 7 years ago
how to mock companion object?
g
w
+2
  • 4
  • 9
  • 2369
Hello, I am getting this error on my newly created KMM project when i try to run the IOS app from an...
s

Solomon Tolu Samuel

almost 4 years ago
Hello, I am getting this error on my newly created KMM project when i try to run the IOS app from android studio
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':shared'.
> The project must have a target for at least one of the following platforms: ios_simulator_arm64.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at <https://help.gradle.org>

BUILD FAILED in 415ms
** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution [CP-User]\ Build\ shared /Users/tolusolomon/AndroidStudioProjects/MyApplication/build/ios/Pods.build/Debug-iphonesimulator/shared.build/Script-4552119A071AC6BAB7327E6434237EC3.sh (in target 'shared' from project 'Pods')
(1 failure)
Command PhaseScriptExecution failed with a nonzero exit code
And a build time error when i try to run the iosApp on Xcode:
"cannot find 'Greeting 'in scope"
and also this error
Failed to register bundle identifier (The app identifier "orgIdentifier.iosApp" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.)
please help out, thanks
s
p
  • 2
  • 4
  • 2337
How to mock test an inline function?
l

lynas

over 6 years ago
How to mock test an inline function?
l
l
u
  • 3
  • 7
  • 2331
We have released a new chart library fully built-in Compose and Kotlin. You can check it out in our ...
d

Deepak k.k

almost 3 years ago
We have released a new chart library fully built-in Compose and Kotlin. You can check it out in our GitHub repo. Some of its features: • Line Charts • Bar Charts • Grouped Bar Charts • Pie Charts • Donut Charts • Combined Charts Charts are fully customizable with a Compose taste. Additionally, YCharts has also accessibility support. Feel free to check out YCharts here, and provide us with any feedback you may have
💯 6
🔥 8
📊 3
👌🏻 1
👀 3
👍 2
❤️ 3
🍩 2
👌🏽 2
🙌 2
📈 2
👌 1
✅ 1
👌 11
😮 1
d
k
+5
  • 7
  • 23
  • 2308
Hey, does anyone has workaround for this @Preview error? ```The following classes could not be insta...
m

Maciej Czekański

over 3 years ago
Hey, does anyone has workaround for this @Preview error?
The following classes could not be instantiated:
- androidx.compose.ui.tooling.ComposeViewAdapter (Open Class, Show Exception, Clear Cache)
 Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE.  If this is an unexpected error you can also try to build the project, then manually refresh the layout.  Exception Details java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.R$id
It happened to me after updating compose to
1.2.0-alpha06
. It doesn't work both on Chipmunk and Dolphin
👀 1
m
c
+3
  • 5
  • 17
  • 2280
I get message ```Unable to resolve activity for: Intent { act=android.intent.action.MAIN cat=[androi...
i

iamthevoid

over 4 years ago
I get message
Unable to resolve activity for: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=ru.rt.designsystem.android.compose.test/androidx.activity.ComponentActivity }
since updated to beta07 when calling
@get:Rule
    val composeTestRule: AndroidComposeTestRule<ActivityScenarioRule<ComponentActivity>, ComponentActivity> =
        createAndroidComposeRule()
when updating to beta08 nothing changes. Anybody knows how can it be resolved?
i
n
g
  • 3
  • 3
  • 2257
Why does onGloballyPosition run on the next composition, and is there any way to get layout coords i...
a

andrew

over 3 years ago
Why does onGloballyPosition run on the next composition, and is there any way to get layout coords immediately?
a
z
+2
  • 4
  • 55
  • 2255
Hi, quick question! Is there no `Dispatcher.Main` in Compose for Desktop? Or should I just depend on...
s

serandel

over 3 years ago
Hi, quick question! Is there no
Dispatcher.Main
in Compose for Desktop? Or should I just depend on
kotlinx-coroutines-android
?
s
e
+2
  • 4
  • 20
  • 2246
How to detect when soft-keyboard opened/closed?
k

K Merle

about 3 years ago
How to detect when soft-keyboard opened/closed?
k
s
+2
  • 4
  • 20
  • 2200
Previous789Next

kotlinlang

A modern programming language that makes developers happier.

Powered by