Mohamed Ibrahim
10/16/2019, 10:41 AMApiManager.INSTANCE.doSomething()
, can we override the INSTANCE getter function?Leon K
10/16/2019, 3:52 PMAPI
interface suspend
and return the data directly, without being wrapped in Call
)
but as soon as i try to do this, i get java.lang.IllegalArgumentException: Could not locate call adapter for class java.lang.Object.
any ideas? if i use the Call
wrapped way it worksSergio C.
10/16/2019, 4:52 PMSrSouza
10/16/2019, 5:46 PM@Body
null?
@PUT("create/{name}")
fun create(@Path("name") name: String, @Adrien Body requestBody: NameRequestBody?)
Schadenfreude
10/17/2019, 12:44 PMKevin Janvier Chinabalire
10/17/2019, 3:11 PMSlackbot
10/17/2019, 5:12 PMAndy Gibel
10/18/2019, 1:49 PMDavide Giuseppe Farella
10/19/2019, 5:02 AMCannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
calling inline functions from libs ( ktx
& various -ktx
).
What could have go wrong?
I have both:
android
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
&&
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
Davide Giuseppe Farella
10/19/2019, 5:06 AMAlexander
10/20/2019, 10:41 AMMohamed Ibrahim
10/21/2019, 8:01 AMandroidx.concurrent
component, is there any sources talking about itivano
10/21/2019, 11:13 AMJazz
10/21/2019, 12:20 PMPaul Dhaliwal
10/21/2019, 2:25 PMAndy Gibel
10/21/2019, 8:38 PMContext.startParticularScreen(intentParams)
but that seems wrong given it's an extension on such a global objectkatz
10/22/2019, 12:51 PMstkent
10/22/2019, 2:14 PMonCreate(...) {
scope.launch {
asyncThing()
}
}
onResume(...) {
scope.launch {
// code that depends on asyncThing() having completed
}
}
Is there a way to "join" such that the onResume work does not start until the asyncThing
is done?mingkangpan
10/23/2019, 9:14 AMCannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
anyone dealt with this error before?
I have specified target to 1.8 in gradle and also in kotlin compiler target...zceejkr
10/23/2019, 12:46 PMMohamed Ibrahim
10/24/2019, 7:40 AMStepanV
10/24/2019, 10:26 AMmending3
10/24/2019, 11:02 AMViewModelProviders.of()
?vitrox1
10/24/2019, 1:02 PMLucas Borges
10/24/2019, 1:38 PMArtem
10/24/2019, 4:25 PMTravis Griggs
10/24/2019, 10:16 PM// MARK:
syntax that shows up in XCode/Swift. It’s really handy for organizing chunks of functionality in different filesmending3
10/25/2019, 7:17 AMnavigation destination com.example.app.myapp/action_homeFragment_to_mainFragment is unknown to this NavController
mainFragmentViewModel.navigateToHome.observe(this, Observer {
if (it) {
this.findNavController().navigate(R.id.action_mainFragment_to_homeFragment)
} else {
this.findNavController().navigate(R.id.action_homeFragment_to_mainFragment)
}
})
Freedom
10/25/2019, 11:33 AMJ6ey
10/25/2019, 8:20 PMJ6ey
10/25/2019, 8:20 PMcedric
10/25/2019, 8:21 PMKris Wong
10/25/2019, 8:26 PMhetang
10/25/2019, 8:38 PMJ6ey
10/25/2019, 9:09 PMAdam Powell
10/25/2019, 9:22 PMalmost 60% of our top 1000 apps are using Kotlin
Casey Brooks
10/25/2019, 9:37 PMcedric
10/25/2019, 9:50 PMScala, which is a functional language inspired by Lisp.
louiscad
10/26/2019, 10:25 AMtseisel
10/27/2019, 10:41 AMlouiscad
10/27/2019, 10:58 AM