What’s the difference between remember and by remember?
Kotlin’s property delegation feature combined with remember, gives birth to the by remember syntax, which offers a more concise and intuitive way to handle state. Understanding the nuances between remember and by remember is crucial for writing clean, efficient, and maintainable Compose code. Remembering State in Jetpack Compose In Jetpack Compose, managing state across recompositions is crucial for maintaining UI consistency and […]
Best practices for Android Architecture in 2024 Android Pro | Architect Masterclass Series
Enroll to 3rd cohort of The Android Architect androidpro.io/architect
#kotlinDevChallenge 2023 summary
The KotlinDevChallenge was not just a competition, but a journey of learning, growth, and community engagement. Every participant in this challenge is a winner in their own right. By choosing to participate, you’ve taken a significant step towards enhancing your skills, pushing your boundaries, and becoming Kotlin PRO. The greatest reward is not just the […]
#kotlinDevChallenge – 24
What do you love most about Kotlin? Productivity increase? Idioms? Or that it isn’t Java? Maybe something else! Share it. It can be short. It can bo longer. You’ll get your point if the answer won’t be screaming “I was generated by AI”.
#kotlinDevChallenge – 23
Challenge checking your generics knowledge 🙂 No long description is necessary. You can select more than one answer. Good luck!
#kotlinDevChallenge – 22
Write a function to aggregate sales data from a list of transactions, each containing multiple product IDs. Use a ProductsDatabase class with methods to retrieve product details by ID and to get all products. The function should return the names of the most sold products. Include an option to limit the number of product names […]
#kotlinDevChallenge – 21
Very fun challenge today. Your task is to… make the code compile. Task Description: We want to be able to use destructive declaration on state: State
#kotlinDevChallenge – 20
Challenge testing your stdlib knowledge 🙂 The tailrec modifier in Kotlin is used to optimize tail-recursive functions, converting them into loops internally to prevent stack overflow errors. The question is…
#kotlinDevChallenge – 19
Create a Kotlin function that takes a URL string as input and extracts various components from it, such as the protocol, domain, path, and query parameters. Task Description: Test cases
#kotlinDevChallenge – 18
Challenge testing your stdlib knowledge 🙂 Code snippet is given: The question is… what will be printed? Or maybe exception will be thrown?