Android Redux/MVI pattern. Tests. Dependency Injection.

所在平台: Udemy

课程主页: https://www.udemy.com/course/android-mvi-pattern-tests-dependency-injection/

课程评论:没有评论

第一个写评论        关注课程

课程简介

Coursera 课程:Android Redux/MVI 模式、测试与依赖注入 本课程旨在教授如何构建可维护、可测试的 Android 应用程序。您将从一个简单的应用开始,学习如何对其进行重构,以实现清晰、可维护的代码。课程内容涵盖: * **开发理念**: 区分“简单”的开发方式与“经过深思熟虑”的开发方式。 * **核心架构**: 深入学习 Model View Intent (MVI) 模式,包括如何手动实现依赖注入(Dependency Injection),以及使用 Dagger 2 进行依赖注入。 * **关键技术**: 掌握 RxJava (RxKotlin)、Room 数据库、Retrofit、viewModels。 * **测试实践**: 学习使用 Espresso 进行仪器测试(Instrumentation Testing),以及使用 JUnit 测试业务逻辑控制器。 * **实际应用**: 通过 Firebase MLKit 进行条形码检测。 * **项目实践**: 在课程后半部分,将构建一个名为“FoodDataViewer”的实际项目,作为您强大的作品集。 通过本课程,您将深刻理解编写干净、可维护代码的重要性,并学会如何在未来的项目中应用这些知识。您将学会管理视图状态,通过 viewModel 追踪应用运行,并通过 Logcat 辅助调试。 课程分为两个部分: * **第一部分**: 专注于重构简单应用以及手动实现依赖注入,帮助您理解 MVI 架构的底层原理。 * **第二部分**: 直接构建一个更大型、可维护且可测试的应用,并集成 Dagger 2 等库。 学完本课程,您将能够自信地运用 MVI 架构和相关的技术,构建高质量的 Android 应用。

课程评论(0条)

课程详情

Creating an android application can be easy. However the easy way is not always the most well thought out way. In this course we will learn what it means to create an application the easy way and then what the easy way looks like when refactored to the clean and maintainable way. The course focuses hard on maintainability and testability. Covering a variety of topics such as how to build your own Dependency Injection, how Dependency Injection is done using Dagger 2, Model View Intent pattern, RxJava (RxKotlin), Room database, Retrofit, viewModels, Instrumentation testing with Espresso, jUnit testing your business logic controllers, Firebase MLKit barcode detection.After completing this course you will know why writing clean and maintainable code is good and how to use it in your upcoming projects. You will also get a very powerful portfolio project out of the "FoodDataViewer" application that we will be building in the second half of this course.Both sections of the course will focus on the Model View Intent architecture. The difference between the 2 sections will be that the first section will teach you how to refactor a simply created application and also how to create dependency injection yourself. By doing so we will understand the nuts and bolts of MVI archtecture. Also we will learn to create dependency injection ourselves before using a library for it. This knowledge will lead us to the second section where we will actually create a bigger maintainable and testable application right away using Dagger 2 and a list of other applications.You will learn that maintainable architecture gives the best way to know our view's state. This state will be kept in the viewModel and can always be rebuilt. Learn to utilize the power of logcat by logging all that the viewModel is doing. This can come especially handy if you want to trace how a crash happened in an application.Let's get to it!

课程标签

0人关注该课程

主题相关的课程