Clean Android Architecture (E-book)

109.00

Opis

As an applications code base increases, it becomes harder for developers to maintain existing features and introduce new ones. In this clean architecture book, youll learn to identify when and how this problem emerges and how to structure your code to overcome it.The book starts by explaining clean architecture principles and Android architecture components and then explores the tools, frameworks, and libraries involved. Youll learn how to structure your application in the data and domain layers, the technologies that go in each layer, and the role that each layer plays in keeping your application clean. Youll understand how to arrange the code into these two layers and the components involved in assembling them. Finally, youll cover the presentation layer and the patterns that can be applied to have a decoupled and testable code base.By the end of this architecture book, youll be able to build an application following clean architecture principles and have the knowledge you need to maintain and test the application easily. Spis treści:Clean Android ArchitectureContributorsAbout the authorAbout the reviewersPrefaceWho this book is forWhat this book coversTo get the most out of this bookDownload the example code filesCode in ActionDownload the color imagesConventions usedGet in touchShare Your ThoughtsPart 1 IntroductionChapter 1: Getting Started with Clean ArchitectureTechnical requirementsThe architecture of a legacy appLegacy analysisSoftware design principlesSOLID principlesComponent cohesion principlesComponent coupling principlesExploring the evolution of AndroidFragmentsThe Gradle build systemNetworkingHumble objectsFunctional paradigmsKotlin adoptionDependency injectionAndroid architecture componentsCoroutines and flowsJetpack ComposeEnter clean architectureSummaryChapter 2: Deep Diving into Data SourcesTechnical requirementsUnderstanding Kotlin coroutines and FlowsKotlin coroutinesExercise 02.01 Using Kotlin coroutinesKotlin FlowsExercise 02.02 Using Kotlin FlowsUsing OkHttp and Retrofit for networkingExercise 02.03 Using OkHttp and RetrofitUsing the Room library for data persistenceExercise 02.04 Using Room to persist dataUnderstanding and using the DataStore libraryExercise 02.05 Using DataStore to persist dataSummaryChapter 3: Understanding Data Presentation on AndroidTechnical requirementsAnalyzing lifecycle-aware componentsExercise 3.1 Using ViewModel and LiveDataUsing Jetpack Compose to build UIsExercise 3.2 Navigating using Jetpack ComposeSummaryChapter 4: Managing Dependencies in Android ApplicationsTechnical requirementsIntroduction to DIUsing Dagger 2 to manage dependenciesUsing Hilt to manage dependenciesExercise 04.01 Using Hilt to manage dependenciesSummaryPart 2 Domain and Data LayersChapter 5: Building the Domain of an Android ApplicationTechnical requirementsIntroducing the apps architectureCreating the domain layerExercise 05.01 Building a domain layerSummaryChapter 6: Assembling a RepositoryTechnical requirementsCreating the data layerCreating repositoriesExercise 06.01 Creating repositoriesSummaryChapter 7: Building Data SourcesTechnical requirementsBuilding and using remote data sourcesExercise 07.01 Building a remote data sourceBuilding and integrating local data sourcesExercise 07.02 Building a local data sourceSummaryPart 3 Presentation LayerChapter 8: Implementing an MVVM ArchitectureTechnical requirementsPresenting data in Android applicationsPresenting data with MVVMExercise 08.01 Implementing MVVMPresenting data in multiple modulesExercise 08.02 Multi-module data presentationSummaryChapter 9: Implementing an MVI ArchitectureTechnical requirementsIntroducing MVIImplementing MVI with Kotlin flowsExercise 09.01 Transitioning to MVISummaryChapter 10: Putting It All TogetherTechnical requirementsInspecting module dependenciesExercise 10.01 Reduce dependenciesInstrumentation testingExercise 10.02 Instrumented testingSummaryWhy subscribe?Other Books You May EnjoyPackt is searching for authors like you

Pozostałe E-booki

wkuwać
, przykład email po angielsku
, sroda po ang
, nobel 2020 medycyna
, gra na pianinie
, elektronika agh
, członkowie rodziny po rosyjsku
, cytaty o marzeniach i celach
, francusku
, bielsko-białą
, lola gra
, kurs fotografii opole
, egzamin ósmoklasisty 2021 test

yyyyy