課程資料
課程簡介
Develop an app that displays Mars photos with ViewModel and Repositories with dependency injection and Flow coroutines
During this course, we will develop an Android application that will display photos taken by the rovers on Mars using Android Studio.
This app will use all the latest Jetpack technologies:
Compose (no more XML)
Hilt (Dagger Dependency Injection Framework)
Room (Jetpack component to create a lite database)
Retrofit (REST client)
Coroutines and Flow (To create asynchronous tasks and request our database)
You also use ViewModels with Jetpack to use an MVVM Repository architecture.
With this example, you should be able to create an Android App to the industry standard.
Navigation with Jetpack Compose could be challenging, so we will create a simple example with 4 screens and a BottomNav to understand it. A Scaffold will be use to create the BottomNav.
Your productivity will be improve as Jetpack Compose is easier to write and reuse.
You will improve your knowledge of Kotlin. If you still use Java, this course is an opportunity to learn.
Compose is a new way to create a UI on Android. It is more concise and reusable. Therefore, it helps to develop faster Android applications.
In this app we will use Jetpack Compose Components from Materal3:
Card
LazyColumn
Column
Row
AsyncIamge (from the Coil lib to display an image from a server)
Text
Image
NavHost (to use navigation)
NavigationBar
NavigationBarItem
Box
Scaffold
We will also see how we can use a modifier to define padding.
課程章節
- 10 個章節
- 39 堂課
- 第 1 章 Introduction
- 第 2 章 Basic Compose
- 第 3 章 Compose Navigation
- 第 4 章 Display a compose list based on a network request
- 第 5 章 Create a list with image
- 第 6 章 Create a bottom navigation
- 第 7 章 Save data in the application
- 第 8 章 Material3 : Update colors and fonts
- 第 9 章 Unit test
- 第 10 章 UI test
課程內容
- Create an modern Android application with Jetpack Compose in Kotlin
- Organize the code with separate layers (ViewModels MVVM, repositories and data layers)
- Room database and Retrofit
- Understand the basic of Flow and Kotlin coroutine
- Start Jetpack composable in a UI tests
- Write unit tests
- Create animations
- Create a theme using Material3 with dark and light modes and custom fonts
- Use Hilt for dependency injection (a dagger-based framework)
- Create a Bottom Navigation and Navigate between screens
此課程所涵蓋的技能
評價
-
LLahmudin La Samudia
Iya sangat cocok dan bagus terima kasih instruktor!
-
MMohamed BH
je ne compris rien
-
MMike Seibel
I thought it was very good. The small fonts were irritating, even at 1080p display. I also struggled to understand the accent., but the English is quite good. I am not sure who the target audience for this course is -- a beginner would be lost since the simple things are not explained. Someone looking for some insight into the architectural decisions will be disappointed since none of this is explained.
-
WWILLIAM ANTONIO RODRIGUEZ CHOQUE
great