Best of Philipp Lackner2024

  1. 1
    Video
    Avatar of philipplacknerPhilipp Lackner·2y

    The ONLY Correct Way to Load Initial Data In Your Android App?

    The post discusses various methods to load initial data in Android apps, evaluating three main approaches: using the Jetpack Compose launched effect, initializing in ViewModel's init block, and leveraging flow collection. Each method's benefits and drawbacks are examined, highlighting a newly preferred approach using flow collection for improved control and testing.

  2. 2
    Video
    Avatar of philipplacknerPhilipp Lackner·2y

    Why You Don't Remember What You Learnt

    Our brains retain information we consider important. For developers, this means that to remember what you've learned, you need to frequently apply new knowledge in real projects. Simply watching videos or tutorials isn't enough for long-term retention.

  3. 3
    Video
    Avatar of philipplacknerPhilipp Lackner·2y

    Is THIS the End of the Google Play Monopoly?

    A significant judgment from the Google vs. Epic Games lawsuit has led to major changes in the Android ecosystem. Google is now required to allow third-party app stores to be installed from within Google Play and to provide them with access to the complete catalog of apps. Additionally, developers are no longer forced to use Google Play's billing system, meaning Google can no longer charge a 30% commission on in-app purchases. Developers can also link to alternative payment methods and app stores from within their Google Play listings. This decision could potentially ease the hurdles for Android developers and reduce app costs for consumers, though Google plans to appeal the ruling.

  4. 4
    Video
    Avatar of philipplacknerPhilipp Lackner·2y

    Keyboard & Focus Management In Jetpack Compose - Android Studio Tutorial

    This tutorial covers focus and keyboard management in Jetpack Compose for Android. It explains how to create a smooth form-filling experience by automatically moving the focus to the next text field using IME actions, and submitting the form directly from the keyboard. Detailed steps are provided to implement these features programmatically.

  5. 5
    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.

  6. 6
    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.

  7. 7
    Video
    Avatar of philipplacknerPhilipp Lackner·2y

    Hot Flows vs. Cold Flows In Kotlin - When to Use What?

    Learn about the differences between cold and hot flows in Kotlin, the scenarios to use each type, and how to convert cold flows to hot flows using functions like `shareIn` and `stateIn`. Understand the nuances and use cases of StateFlow and SharedFlow, especially in the context of asynchronous programming in Android development.

  8. 8
    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.

  9. 9
    Video
    Avatar of philipplacknerPhilipp Lackner·2y

    The Compose Multiplatform Crash Course for 2025 - Build a Clean Code Book App

    Learn how to build a fully functioning, multiplatform book search app using Compose Multiplatform. The course covers development for Android, iOS, and desktop, incorporating features like remote API integration, local database storage with Room, animations, and more. The author provides guidance on setting up the initial codebase, project structure, and navigating through various development steps, ensuring compatibility across platforms. Essential libraries such as Koin, Coil, and SQLite are included in the setup.

  10. 10
    Video
    Avatar of philipplacknerPhilipp Lackner·2y

    Save User Credentials With the Google Credential Manager - Android Studio Tutorial

    Learn how to use Android's Credential Manager to improve username-password authentication by saving credentials in Google’s Credential Manager. This allows for easier future logins and cross-device usability. The guide walks through building a sign-up and sign-in form, implementing a Credential Manager to save credentials, and using existing credentials to log in. A detailed walkthrough covers setting up dependencies, creating necessary classes, and managing credentials using suspending functions. Integration across apps and websites with digital asset links is also mentioned.