Best of Android Development — 2024

  1. 1
    Article
    Avatar of javarevisitedJavarevisitedĀ·2y

    Why does Java remain so popular?

    Java remains popular due to its versatility, user-friendly syntax, strong community support, and excellent documentation. It is used widely in various domains such as banking, big data, Android development, scientific apps, and eCommerce. Features like platform independence and reliability in enterprise and large-scale systems contribute to its enduring success.

  2. 2
    Article
    Avatar of jetbrainsJetBrainsĀ·1y

    Kotlin 2.1.0 Released

    Kotlin 2.1.0 has been released, featuring new language capabilities in preview, updates to the K2 compiler, improvements in Kotlin Multiplatform, Kotlin/Native, and Kotlin/Wasm, as well as enhanced compatibility with newer versions of Gradle. The release also includes a livestream for further insights and a detailed migration guide.

  3. 3
    Article
    Avatar of medium_jsMediumĀ·2y

    Modern Android Development in 2024

    This post discusses various topics related to modern Android development in 2024, including the use of Kotlin, key features of Jetpack Compose, architecture patterns, dependency injection, modularization, testing, in-app updates and reviews, security, loggers, Google Play Instant, AI coding assistants, and Kotlin Multiplatform.

  4. 4
    Video
    Avatar of philipplacknerPhilipp LacknerĀ·2y

    The Ultimate Beginner's Roadmap to Android App Architecture

    Beginners in Android app development often face confusion due to various architectural patterns like MVVM, MVI, and clean architecture. This guide provides a simplified roadmap for structuring an Android app, recommending a beginner-friendly architecture with four main components: UI, models, data layer, and one view model per screen. The focus is on achieving consistency, ease of maintenance, and avoiding over-complication. The guide emphasizes simplicity and understanding fundamental concepts before diving into more complex architectures.

  5. 5
    Video
    Avatar of philipplacknerPhilipp LacknerĀ·2y

    šŸŽ Get My New FREE 4.5h Course About Building a Clean Code Crypto Tracker App

    A new free 4.5-hour course on Android architecture focuses on teaching users how to build a clean code crypto tracker app. The course covers various architectural practices, package structures, state management, and creating a custom chart from scratch. To access the course, users need to enter their email address to receive an invitation link to a dedicated members area.

  6. 6
    Article
    Avatar of medium_jsMediumĀ·2y

    Kotlin Sealed Class Explained

    Kotlin's sealed class is a special kind of class that restricts its inheritance to a specific package, providing a type-safe way to handle different types of data. This makes code more readable and manageable, especially when paired with Kotlin's 'when' expression, which ensures all possible types are handled at compile time. The article includes practical examples and emphasizes best practices for organizing sealed classes in your code, highlighting their utility in handling API responses and other generic data holders.

  7. 7
    Article
    Avatar of androiddevAndroid Developers BlogĀ·2y

    15 Things to know for Android developers at Google I/O

    AI is unlocking new experiences for Android developers at Google I/O. Gemini in Android Studio offers new features. Build generative AI apps with Android. The upcoming Compose June '24 release has highly requested features.

  8. 8
    Article
    Avatar of medium_jsMediumĀ·2y

    Kotlin Coroutines: From Basics to Advanced Techniques šŸ› ļø

    Learn about Kotlin coroutines, a concurrency design pattern that allows asynchronous programming. Discover how coroutines differ from threads, how they improve performance compared to traditional threading, and the main coroutine builders in Kotlin.

  9. 9
    Article
    Avatar of react_nativeReact NativeĀ·2y

    Support for Percentage Values in Layout, New Architecture Stabilization, Template & init Updates, and more Ā· React Native

    React Native 0.75 introduces several new features, including support for percentage values in Yoga 3.1 layouts, various stabilization fixes for the New Architecture, and a new jsi::Runtime API for TurboModules. There are breaking changes such as modifications to the TypeScript Touchables, deprecation of older SDKs, and removal of certain Android and iOS features. The release also updates templates and the 'react-native init' command to promote framework usage like Expo for new projects.

  10. 10
    Article
    Avatar of droidcondroidconĀ·2y

    Stack vs. Heap in Kotlin: Understanding Memory

    Discover how memory allocation works in Kotlin by exploring the concepts of stack and heap memory using everyday analogies. Learn how local variables and function calls are managed in stack memory, while objects and global variables are stored in heap memory. Understand the importance of efficient memory management for better performance and resource utilization.

  11. 11
    Article
    Avatar of towardsdevTowards DevĀ·1y

    10 Kotlin Features That Every Android Developer Should Master in 2025

    Kotlin's key features for Android development in 2025 include null safety, coroutines for asynchronous programming, extension functions, Flow API for data streams, sealed interfaces, delegated properties, data classes with value classes, context receivers, inline functions with reified types, and Kotlin Multiplatform for cross-platform development. These features help developers write clean, efficient, and maintainable code, enhancing app performance and scalability.

  12. 12
    Article
    Avatar of pandProAndroidDevĀ·2y

    Jetpack Compose Previews: Delving Deep Into Their Inner Workings

    Jetpack Compose Previews enable rapid UI design iterations and can be run using `adb` without Android Studio. Understanding `PreviewActivity` and its role in hosting composables, as well as how to customize previews in multi-modular projects, can greatly enhance the development process. The guide provides detailed steps on generating and running instrumented APKs for previews and customizing preview behavior and appearance.

  13. 13
    Video
    Avatar of philipplacknerPhilipp LacknerĀ·2y

    Why Most Android Devs Are Doomed

    Many Android developers may struggle to improve because they often hold fixed opinions on subjective topics. True growth happens when they engage in discussions, opening up to different perspectives, rather than staying emotionally attached to their own beliefs.

  14. 14
    Article
    Avatar of javarevisitedJavarevisitedĀ·2y

    My Journey in Learning Advanced Android Development: Why I Read More Than I Write

    To become a better Android developer, prioritize reading code over writing it. Understanding other developers' solutions helps you learn optimization, structure, and coding conventions. Reading open-source libraries provides a broader perspective on coding styles and architectures, which can significantly improve your own work. Foundational learning comes from analyzing others' code, making your own code more thoughtful and efficient.

  15. 15
    Video
    Avatar of philipplacknerPhilipp LacknerĀ·1y

    I've Used Jetpack Compose For 4 Years - Here's the Good and the Bad

    The post discusses the author's four-year experience with Jetpack Compose, highlighting its advantages and disadvantages. Jetpack Compose is considered more enjoyable and efficient for building UIs compared to the traditional XML approach, making it easier to create reusable components and implement animations. However, challenges such as dealing with modifier order and side effects are noted. Despite its quirks, Jetpack Compose is seen as a significant improvement for Android development and is expected to become the primary way to build UIs in the future.

  16. 16
    Article
    Avatar of pandProAndroidDevĀ·2y

    Type Safe Bottom Navigation in Jetpack Compose

    This guide delves into the advanced concepts of Type Safe Bottom Navigation in Jetpack Compose. It explains how to use Serializable objects for navigation routes, thus eliminating the need for route build functions and navArguments. The guide covers setting up a BottomBar with three routes, handling active tabs, generating route patterns, and managing navigation routes with arguments. It simplifies navigation setup, ensuring type safety and enhancing readability.

  17. 17
    Article
    Avatar of pandProAndroidDevĀ·2y

    Kelp Plugin for Android Studio 🌱 by Anton Popov

    Kelp is a powerful Android Studio plugin that integrates custom design systems into the IDE, enhancing visibility, accessibility, and productivity for Android developers.

  18. 18
    Article
    Avatar of collectionsCollectionsĀ·2y

    Kotlin Coroutines: Fundamentals and Key Concepts for Android Development

    Kotlin coroutines provide an efficient way to handle asynchronous tasks by reducing context-switching costs. They act as pausable functions, allowing heavy operations to run without disturbing the main application's flow. Key concepts include suspend functions, coroutine scope and context, coroutine builders, and coroutine dispatchers and jobs. These fundamentals help in managing concurrency, improving app performance, and maintaining responsiveness on the main thread. Mastering Kotlin coroutines enhances the performance and reliability of Android applications.

  19. 19
    Article
    Avatar of droidcondroidconĀ·2y

    Kotlin’s @Keep Annotation: Keeping Your Code Safe and Sound

    Kotlin’s @Keep annotation is essential for protecting specific parts of your code from being removed by the code optimizer. By marking classes, functions, or properties with @Keep, you prevent unintended removal, ensuring critical code invoked through reflection or external libraries remains intact. The annotation acts like a VIP badge, signaling to the optimizer the importance of certain code elements.