|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/android-jetpack-compose-retrofit-room-hilt/
课程评论:没有评论
课程名称:使用Kotlin中的Retrofit、Room和Hilt开发Android Jetpack Compose 课程概述:本课程将指导学员开发一款Android应用程序,该应用程序将展示火星探测器拍摄的照片,使用Android Studio进行开发。这款应用将利用最新的Jetpack技术,包括:Compose(不再使用XML)、Hilt(依赖注入框架)、Room(创建轻量级数据库的Jetpack组件)、Retrofit(用于REST请求的客户端)、协程和Flow(用于创建异步任务并请求数据库)。此外,学员将学习如何与Jetpack一起使用ViewModels,采用MVVM仓库架构。 在课程中,我们将面对Jetpack Compose的导航挑战,通过创建包含4个屏幕和底部导航栏的简单示例来理解导航概念。使用Scaffold来创建底部导航栏将提升学员的生产力,因为Jetpack Compose的写法更加简洁易用。 本课程还会深化学员对Kotlin的理解。如果学员之前使用Java,这是一个学习Kotlin的良机。Compose为Android提供了一种全新的UI创建方式,既简洁又易于重用,从而加速Android应用的开发。 我们将在应用中使用Jetpack Compose的Material3组件,例如:Card、LazyColumn、Column、Row、AsyncImage(利用Coil库从服务器显示图像)、Text、Image、NavHost(用于导航)、NavigationBar、NavigationBarItem、Box和Scaffold。同时,学员还将学习如何使用修饰符来定义内边距。 无论是初学者还是希望提升技能的开发者,这门课程都将在Android应用开发中带来显著的进步。
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:CardLazyColumnColumnRowAsyncIamge (from the Coil lib to display an image from a server)TextImageNavHost (to use navigation)NavigationBarNavigationBarItemBoxScaffoldWe will also see how we can use a modifier to define padding.