python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Decouple multiple variable let in Kotlin
I have a separate function that applies different gradient based on specified id, this function returns a compose Brush. When I call this function in my boxscore I have to wrap with let since it retur...
theblankishappy
Votes: 0
Answers: 1
Type mismatch: inferred type is kotlin.collections.ArrayList<LiveData<List<a>>> but Collection<LiveData<List<TypeVariable(Source)>?>> was expected
I tried to use flattenLiveData() but it is exspecting
kotlin.collections.ArrayList<LiveData<List<TabDefinition>>>
but I am passing in Collection<LiveData<List<TypeVariable(S...

Muraino
Votes: 0
Answers: 1
NavHostFragment initialization results in NullPointerException
I am attempting to set a navHostFragment in my MainActivity.kt file, but the code below results in the error:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.lunchtray/c...
John Harrington
Votes: 0
Answers: 1
What is this Kotlin type: (String..String?)
IntelliJ is showing me context hints that my variables are of type (String..String?). I cannot find any mention of it on the internet, what is this type?

Caleb Bolton
Votes: 0
Answers: 1