Kirill Rakhman
Kirill Rakhman
Here's a test project: https://github.com/cypressious/KotlinRetrolambdaBug Run the app. The activity should display "bar". Now go to `com.cypressworks.kotlinretrolambdatest.Foo` and change "bar to "foo". Run the app again. You will see "bar"...
This is probably a bit early, but I guess it doesn't hurt to have an issue to track the state of gradle-retrolambda's compatibility with the new Jack & Jill compiler....
Execution failed for task ':myModule:_compileProductionDebugJava' when using incremental conpilation
I'm using gradle-retrolambda 2.4.1 together with android-apt and have ``` allprojects { tasks.withType(JavaCompile) { options.incremental = true } } ``` set. This is a new feature of Gradle 2.1 but...
## apply Use `apply` for initialization: ```kotlin val foo = createBar().apply { property = value init() } ``` ## also Use `also` over `apply` if the receiver is used for...
When you have a variable `val value: Boolean?` you have a couple of possible ways to test it for `true`: 1. `if (value != null && value)` (doesn't work with...
If the function signature doesn't fit on a single line, I propose the following syntax, similar to the class header syntax proposed by me in #2: ``` kotlin fun longMethodName(...
Functions should only be made `inline` when they use `inline`-only features like inlined lambda parameters or reified types. Inline functions should generally be short as they increase the code size...