Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Hilt Dependency Injection in Android with Kotlin

Hilt Dependency Injection trong Android với Kotlin

Hilt Dependency Injection trong Android với Kotlin

Hilt với Kotlin: Lý thuyết và thực hành trong ứng dụng Android

4.4
(643 đánh giá)
2,437 học viên
Giảng viên
Catalin Stefan
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
2.5 giờ video
28 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Hilt
Kiểm thử Đơn vị (Unit Testing)
Dependency Injection (Tiêm phụ thuộc)
Modules (Các Mô-đun)
Components (Các Thành phần)
Field Injection (Tiêm vào Trường)
Constructor injection (Tiêm qua Hàm khởi tạo)
Method injection (Tiêm qua Phương thức)
Qualifiers (Bộ định danh)
ViewModel injection (Tiêm ViewModel)

Yêu cầu

Kiến thức phát triển Android
Kiến thức về Kotlin

Đối tượng phù hợp

Lập trình viên mới bắt đầu
Lập trình viên có kinh nghiệm trung cấp

Nội dung khóa học

6 phần • 28 bài giảng
1 Giới thiệu
2 Thông báo quan trọng về đánh giá trên Udemy
3 Kết nối trên mạng xã hội
4 Dependency Injection là gì
5 Kiến thức cơ bản về Dagger
1 Tổng quan về phần này
2 Tạo dự án và thiết lập Hilt
3 Lớp Application
4 AndroidEntryPoint
5 Constructor injection (Tiêm qua Hàm khởi tạo)
6 Field injection (Tiêm vào Trường)
7 Method injection (Tiêm qua Phương thức)
1 Tổng quan về phần này
2 Thiết lập mã nguồn
3 Modules (Các Mô-đun)
4 Tiêm Interface với @Binds
5 Tiêm thể hiện với @Provides
6 Qualifiers (Bộ định danh)
7 Cung cấp Context
8 Cài đặt trong nhiều thành phần
1 Tổng quan về phần này
2 Các thành phần và vòng đời
3 Phạm vi (Scopes)
4 Hệ thống phân cấp
1 ViewModel
2 Kiểm thử Đơn vị (Unit Testing)
1 Kết luận
2 Cảm ơn bạn

Giới thiệu khóa học

Dependency Injection is now an indispensable component of Android development. All well built, large projects use it to make development easier and more practical.

Hilt is the next generation dependency injection framework from Google. It's built on top of Dagger and simplifies DI greatly. Android development has been steadily relied upon Dependency Injection, and Hilt is now the fastest and simplest way to implement it in your projects.

This course will

  • take you from a complete beginner in the technology

  • explain in detail the theoretical aspects of Hilt injection

  • exhaustively go through all the components that make Hilt such a successful library

  • implement it in a practical application

After this course you will have the knowledge and experience to use Hilt in all your app development projects, and will allow your apps to grow and expand seamlessly.

We will learn about:

  • Modules

  • Constructor injection

  • Field injection

  • Method injection

  • Components

  • Qualifiers

  • Standard qualifiers

  • ViewModel injection

  • Unit testing

We will build everything in Kotlin.

We cover a lot of ground in this course, and we will implement the concepts practically so that you get not only theoretical knowledge but practical experience as well. Whether you start with zero experience in dependency injection or you already know a little bit about it through dagger, this course will show you how to use it with Hilt.

Sign up today, and let's learn how to use Hilt to build a modern Android Application.

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Android Development
Hiển thị tất cả khoá học Dependency Injection
Hiển thị tất cả khoá học Hilt
Hiển thị tất cả khoá học Kotlin
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊