97,883 questions
- Bountied 1
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
43
views
Return type mismatch: expected 'Any', actual 'Authentication?'
I tried to upgrade my codes to Spring Boot 4.0.0, and given the following Kotlin codes,
@Bean
fun auditorAware(): ReactiveAuditorAware<String> = ReactiveAuditorAware<String> {
...
0
votes
0
answers
13
views
Implement ScaleGestureDetector and Listener in Android Studio using Kotlin and SceneView
I am working on a "simple" Android augmented reality application. I’m very new to Android programming, although I’ve been in software development for decades, particularly Python, and C/C++ ...
0
votes
0
answers
38
views
How to disable the "minimize" button in AndroidX CustomTabs?
I’m using androidx.browser.customtabs with a CustomTabsIntent to open a webpage inside my Android app.
Chrome shows a minimize button (a small arrow/down icon) in the Custom Tab UI, allowing the user ...
2
votes
1
answer
39
views
How to handle errors in compose viewmodels?
Imagine something like this:
class FileModel: ViewModel() {
private val _state: MutableStateFlow<FileState> = MutableStateFlow(initialState)
val state: StateFlow<FileState> = ...
0
votes
0
answers
95
views
Running my app causes an AbstractMethodError [closed]
Everytime I try to run the app in Android Studio, this error appears.
java.lang.AbstractMethodError: Receiver class androidx.room.migration.bundle.FieldBundle$$serializer does not define or inherit ...
-1
votes
1
answer
67
views
How i disable bounce effect if button is not enabled?
I have disabled ripple effect in my entire project using CompositionLocalProvider.
@Composable
fun SpotifyTheme(
content: @Composable () -> Unit,
) {
val colorScheme = colorScheme
...
0
votes
0
answers
41
views
Accessiblity not clicking on "Force stop" at all
I can verify that onAccessibilityEvent and onServiceConnected functions are triggered, but nothing expected happens.
Here is my AndroidManifest.XML
<?xml version="1.0" encoding="utf-...
0
votes
1
answer
45
views
Latest version of Compose Maps dependency throws "IllegalArgumentException: source must not be null"
When using com.google.maps.android:maps-compose in version 6.12.2 I get the following error building the project:
org.jetbrains.kotlin.util.FileAnalysisException: While analysing <redacted>/...
-1
votes
0
answers
40
views
LazyColumn flingBehavior problem in Jetpack Compose [closed]
I used the following code in Jetpack Compose to position items in the center of the screen and I succeeded, but when I click on the item, the item moves down and the flingBehavior effect disappears. ...
0
votes
0
answers
43
views
Spring Data Elasticsearch adds new Date field as text in existing index mapping
I'm using Kotlin + Spring Boot 3.4.1 with spring-boot-starter-data-elasticsearch and Elasticsearch 8.12.2.
Existing document:
@Document(indexName = "crashes_summary")
data class CrashSummary(...
0
votes
0
answers
37
views
Error in executing credential manager api [closed]
I am trying to execute camara number verification 2.0.0 in my app. Currently I am stuck about how the call is going to be to the mobile os so that it trigger request to entitlement server for the ...
Best practices
3
votes
0
replies
29
views
Testing with corroutines
Let's say I have Worker class and I want to do long running tasks in the background until user stops it or it is cancelled. It changes state of the class while doing the work and I want to write tests ...
2
votes
2
answers
112
views
Difference in Double representation between Kotlin and Swift
In Kotlin, if you do println(String.format("%.17f", 10.45)), you will see 10.45000000000000000 in the output.
In Swift, if you do print(String(format: "%.17f", 10.45)) you will see ...
Advice
1
vote
1
replies
54
views
Custom overlay when detecting device recording
I am trying to make a custom overlay for my application that will hide the screen if any screen share or unauthorized recording of my app is running.
The problem is, that I am trying to avoid using ...
0
votes
0
answers
65
views
Push Notification on Flutter Mobile Apps [closed]
I am developing 2 mobile applications (main & admin) using Flutter for my client and this is my very first time developing a mobile apps. I need help with push notification on both apps because I ...