Stephan Schroeder
KSPLogger
./gradlew build
sen kumar
override fun afterTextChanged(editable: Editable?)
Simon Lin
init block
class Foo() { init { loadData() } private fun loadData() { repository.getData() } }
class FooTest { private val foo by lazy { Foo() } @Test fun `test foo init block`() { foo // access foo to create an instance by Lazy coVerify(exactly = 1) { repository.getData() } } }
Alex Styl
@Composable
currentWindowContainerSize
LocalWindowInfo.current.containerSize
@Composable fun App() { val containerSize = currentWindowContainerSize() if (containerSize.width >= 480.dp) { TabletLayout() } else { PhoneLayout() } }
Zoltan Demant
ColorProducer
Marc Reichelt
Ahaisting
.animateContentSize()
Anton Afanasev
fun sendMessage(text: String, customAttributes: Map<String, String> = emptyMap())
func sendMessage(text: String, customAttributes: [String : String] = [:])
kevindmoore
dimsuz
Timber
5.0.1
No matching variant of com.jakewharton.timber:timber:5.0.1 was found. The consumer was configured to find an API of a library compatible with Java 11, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but: - Variant 'releaseApiPublication' capability com.jakewharton.timber:timber:5.0.1 declares an API of a library, and its dependencies declared externally: - Incompatible because this component declares a component, with the library elements 'aar' and the consumer needed a component, preferably in the form of class files
4.x
aar
A modern programming language that makes developers happier.