https://kotlinlang.org
Join Slack
Anyone knows if it's possible to implement OpenCV in android studio? Where to start? Will it also wo...
d

Djordje Mutavdzic

over 3 years ago
Anyone knows if it's possible to implement OpenCV in android studio? Where to start? Will it also work on iOS?
😶 4
google 1
d
j
s
  • 3
  • 5
  • 459
Does Boot completed broadcast works without launching application ?, here is my android manifest, I...
c

Chethan

almost 4 years ago
Does Boot completed broadcast works without launching application ?, here is my android manifest, I am not keeping activity LAUNCHER filter . I do not see broadcast receiver calls in boot completed
<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/Theme.DownloadPOC">
    <activity
        android:name=".MainActivity"
        android:exported="true">
       
    </activity>

    <!-- Declaring broadcast receiver for BOOT_COMPLETED event. -->
    <receiver
        android:name=".DeviceBootUpReceiver"
        android:enabled="true"
        android:exported="false">
        <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED" />
        </intent-filter>
    </receiver>

</application>
😶 6
c
p
  • 2
  • 2
  • 459
You have to mock whatever is inside the inline call
l

LeoColman

over 6 years ago
You have to mock whatever is inside the inline call
l
v
  • 2
  • 21
  • 459
Is there a way to disable androidTest compile/assemble on a per module basis? I can only find disab...
a

Andy Himberger

over 1 year ago
Is there a way to disable androidTest compile/assemble on a per module basis? I can only find disabling the whole task type that would disable it in the whole project We have one module using androidTest (everything else is just test with robolectric), but having that one androidTest module results in Android studio 'Make Project' compiling and assembling androidTest for every module -- so my full project build takes forever, and it eats a ton of disk space as it basically creates the same 200mb apk for each module in our 150 module project. This wasn't true like a year ago but one of the AGP upgrades I think changed the behavior (used to see it only in canary but now release android studio does it too)
not kotlin but kotlin colored 2
a
e
t
  • 3
  • 4
  • 458
I'm getting a crash in my iOS app, but I have no idea what it means. No stack trace. It's coming fro...
b

Brian Guertin

almost 4 years ago
I'm getting a crash in my iOS app, but I have no idea what it means. No stack trace. It's coming from Kotlin native. Anyone seen this?
OS Version:         iOS 14.6

(anonymous namespace)::ExceptionObjHolderImpl: 

0 unknown file unknown method
b
n
+2
  • 4
  • 12
  • 458
Hi, I'm getting into instrumentation testing of compose activities, and most of stuff i find on the ...
v

Vladimir Vainer

over 2 years ago
Hi, I'm getting into instrumentation testing of compose activities, and most of stuff i find on the internet shows how to test 2+2=4 or simple todo apps. Are there any good thorough resources about it?
v
j
g
  • 3
  • 55
  • 458
Hey! anyone know if Exposed supports OffsetDateTime as a column type? or any suggestions how to work...
p

Peter Scardera

almost 4 years ago
Hey! anyone know if Exposed supports OffsetDateTime as a column type? or any suggestions how to work around not being able to save a timezone would be really appreciated 🙂
p
d
h
  • 3
  • 4
  • 458
Does anyone know, how to listen for lottie animation completed? Thanks!
p

Peter Mandeljc

over 4 years ago
Does anyone know, how to listen for lottie animation completed? Thanks!
p
n
h
  • 3
  • 5
  • 457
Hello, everybody. How can I fix this issue. java.lang.String cannot be provided without an @Inject ...
h

Hovhannes

over 4 years ago
Hello, everybody. How can I fix this issue. java.lang.String cannot be provided without an @Inject constructor or an @Provides-annotated method. Thanks in advance.
@Singleton
@Provides
fun provideAuthApi(
    remoteDataSource: RemoteDataSource,
    string: String
): AuthApi {
    return remoteDataSource.buildApi(AuthApi::class.java, string)
}

@Singleton
@Provides
fun provideUserApi(
    remoteDataSource: RemoteDataSource,
   string: String
): UserApi {
    return remoteDataSource.buildApi(UserApi::class.java, string)
}
h
k
  • 2
  • 2
  • 457
I think LazyColumn and LazyColumnFor still have bug in the LazyListState scroll position, my scenari...
b

Bsn Net

about 5 years ago
I think LazyColumn and LazyColumnFor still have bug in the LazyListState scroll position, my scenario : I have list of items (100 items), when I scroll down to say item no 30, then I filter the list, so it only has 10 items, it will crashed java.lang.IllegalStateException: entered drag with non-zero pending scroll: -1403.0696 at androidx.compose.foundation.lazy.LazyListState.onScroll$foundation_release(LazyListState.kt:171) at androidx.compose.foundation.lazy.LazyListState$scrollableController$1.invoke(LazyListState.kt:144) On comparison, when I use ScrollableColumn, it works perfectly
âž• 2
b
m
+3
  • 5
  • 13
  • 457
Previous145146147Next

kotlinlang

A modern programming language that makes developers happier.

Powered by