Common Design Patterns and App Architectures for Android
Mar 29 2021 · Article (30 mins)
Discover how to make your Android code cleaner and easier to understand with these common design patterns for Android apps. “Future You” will appreciate…
Android & Kotlin
Regular Expressions in Kotlin
Mar 14 2022 · Article (30 mins)
…simple string methods could make you write more code than needed. Imagine you want to check whether a string is a phone number. The pattern for a phone number is three number strings separated by dashes. For example, 333-212-555 is a phone number, but 3333/2222…
Android & Kotlin
Advanced Object-Oriented Programming in Kotlin
May 22 2024 · Multimodal Module (1 hr, 7 mins)
This article describes the MVVM Design Pattern and its components, data binding, and other design patterns and architectural concepts for the Android platform…
…this tutorial, you’ll learn how to combine Jetpack Compose and the repository pattern, making your Android code easier to read and more maintainable…
Android & Kotlin
Object in Kotlin and the Singleton Pattern
Jun 21 2021 · Article (20 mins)
Properties Tutorial. Using Singletons in Kotlin By using the keyword object in your app, you’re defining a singleton. A singleton is a design pattern in which a given class has only one single instance inside the entire app. A singleton’s two most common use cases are: To share…
Android & Kotlin
MVI Architecture for Android Tutorial: Getting Started
Mar 20 2019 · Article (20 mins)
Learn about the MVI (Model-View-Intent) architecture pattern and prepare to apply it to your next Android…
Android & Kotlin
Object-Oriented Programming Best Practices with Kotlin
Aug 23 2023 · Article (25 mins)
…more information look at the official documentation. Where to Go From Here? If you want to know more about most common design patterns used in OOP, check out our resources on patterns used in Android. If you need a handy list of design patterns, make sure to check this. Another…
Android & Kotlin
Android VIPER Tutorial
May 23 2018 · Article (30 mins)
…this tutorial, you’ll become familiar with the various layers of the VIPER architecture pattern and see how to keep your app modules clean and independent…
Android & Kotlin
Unit Testing Tutorial for Android: Getting Started
Mar 14 2024 · Article (25 mins)
…many dependencies on the Android subsystem. The inability to unit test logic in these files is one of the reasons that good architecture patterns recommend breaking out logic into other components. As you build the functionality in your app, you’ll learn about things that make a component a good…
Android & Kotlin
Droidcon Boston 2018 Conference Report
Mar 28 2018 · Article (45 mins)
…trained model on a device. Joe started with some machine learning 101: getting data, clean prep & manipulate, training a model based on patterns in the data, then improve. Joe discussed the differences between unsupervised learning and supervised learning, and then described the supervised learning topics of classification and regression…
Android & Kotlin
Domain-Specific Languages In Kotlin: Getting Started
Jul 22 2019 · Article (25 mins)
…this Kotlin tutorial, learn how to create a DSL using Kotlin lambdas with receivers, builder pattern and extension functions…
Android & Kotlin
Material You in Jetpack Compose
May 16 2022 · Article (25 mins)
Material Design 3 and understanding component changes it brings. Migrating from Material Design 2. Using Material You personalization features and Material Theme Builder. Transition patterns and how to use them in your app. Adding Material Motion to your app. Note: This article assumes you have previous experience with Android…
Android & Kotlin
Jetpack Compose Destinations
May 9 2022 · Article (20 mins)
…this tutorial, you’ll learn how to implement an effective navigation pattern with Jetpack Compose, in a way that will work with different screen sizes, from phones to tablets…
Android & Kotlin
Clean Architecture Tutorial for Android: Getting Started
Aug 5 2019 · Article (30 mins)
…fuss is about? In this tutorial you’ll learn the basics of Clean Architecture, including: Why it’s important to use architecture patterns in software What Clean Architecture is What SOLID principles of development are When to use Clean Architecture and SOLID principles How to implement Clean Architecture on Android…
…collection of libraries included in Jetpack. They help you implement clean architecture in your app, based primarily on the MVVM (Model-View-ViewModel) pattern. We have many tutorials on architecture components, but you can start with this one: Android Jetpack Architecture Components: Getting Started. What is Data Binding? The Data…
Android & Kotlin
Announcing Our Newest Book — Real-World Android by Tutorials!
Mar 24 2021 · Article (20 mins)
…design and implement PetSave as an example of a professional, real world app. You’ll learn how to choose the right architectural pattern and how to structure the code to make the app testable and maintainable. Gather real-world strategies as you tackle complex issues under the hood of your…
Android & Kotlin
MVVM on Android
Sep 1 2022 · Video Course (49 mins)
…template or leave the default of None. This lesson hasn’t covered .gitignore, but it’s basically a collection of filename and filename wildcard patterns you want to keep out of the repository but that might be in your working directory. When your repository is for a codebase…