У нас вы можете посмотреть бесплатно Coding an Android Recipe App (LIVE) - MVVM / Compose / Hilt (Part 1) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Twitter: / ben_kadel Github: https://github.com/kardelio THIS VIDEO IS PART 1... Keep your eyes open for Part 2 coming soon! Playlist with all parts in: • Android MVVM App Compose (LIVE) Join me for my first ever YouTube Live Stream as I guide you step by step on how to code an Android App in 2021! Not only that but I will be using the awesome and relatively new power of Jetpack Compose (as opposed to the traditional XML way) to create dynamic, rich & super easy to create UI. The App I am planning to build during this stream will be a simply "Recipe" app using the fantastic MealDB API to provide a huge list of dishes/meals with their recipes and instructions. For this app I will start from absolute scratch and create an empty project using Android studio and I will use some of the most well-known and industry recognised libraries; like retrofit (for a HTTP Client - to make network requests), Dagger Hilt (for enabling easy dependency injection - pass variables around our code more easily & cleanly) & GSON (to parse JSON - taking JSON and converting it into objects that my code can deal with) to create my app. Finally, one of the most important parts of any app development is the decision for the architecture pattern (that dictates how files/classes should be split and arranged in order to make efficient, maintainable & testable code) and for this app will be using MVVM (Model - View - ViewModel) which is a subset of the "Clean" architecture pattern & is currently the favoured & most loved pattern. So please join me LIVE as I take on this task and explain most of it as I go in an effort to teach you how to code an Android App with Compose & MVVM... Timestamps ====================== 00:00 - Skip Me (Countdown before Live) 09:55 - Intro 20:00 - What we are making 21:55 - API to use 27:48 - Creating the project (Android Studio) 31:59 - App Module explained 34:20 - Gradle explained for making an App 35:02 - Gradle Dependencies explained 37:50 - Fixing all the first build errors 40:00 - Building the App 41:38 - What are we seeing on the screen (Compose) 42:18 - Compose Material Theme 44:37 - Adding external dependencies 54:20 - Initial Compose work on First Screen 1:03:36 - MVVM Introduction 1:04:14 - Creating the ViewModel 1:07:51 - Usecase, repository & service 1:10:25 - Creating the UseCase 1:13:46 - Creating the Repo 1:15:58 - Wiring up with Dagger Hilt 1:17:00 - How to use Hilt (Hilt Module) 1:27:28 - Wiring up Vm, UseCase & repo 1:33:47 - Wiring up VM to the View 1:37:57 - Creating the Retrofit Service 1:47:05 - Retrofit with coroutines (suspend) 1:50:30 - Internet permissions (classic) 1:53:28 - Profiler in AS to see Network request 1:54:50 - Create class from JSON 2:00:09 - Retrofit with GSON 2:05:54 - Viewmodel usage in Compose function 2:09:09 - State in the ViewModel 2:12:47 - Wiring up VM State to UI 2:20:35 - Compose function as row item 2:27:43 - Tweaking the Compose UI 2:45:26 - Outro Links =========================== Vivi Plays Youtube Channel: / @viviplaysyt Art of Software Youtube Channel: / theartofsoftware Meal DB API: https://www.themealdb.com/api.php ------------------------------------- Tools: ------------------------------------- Video Editing: https://www.blackmagicdesign.com/prod... Image Editing: https://www.gimp.org/ Camera: Canon M50 ------------------------------------- Credits: ------------------------------------- Intro Card Music: https://www.purple-planet.com In Video Music: Youtube Audio Library In Video Background: Made by me Thumbnail Icons: Icons made by Freepik from https://www.flaticon.com Vid: 50 (LIVE) #Android #Compose #Kotlin