У нас вы можете посмотреть бесплатно Coding an Android Recipe App (LIVE) - MVVM / Compose / Hilt (Part 3) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Twitter: / ben_kadel Github: https://github.com/kardelio THIS VIDEO IS PART 3, you can find the second part here: • Coding an Android Recipe App (LIVE) - MVVM... BUT DO NOT WORRY if you haven't seen the previous parts as I will make sure to recap what we did last time at the start of this stream... Playlist with all parts in: • Android MVVM App Compose (LIVE) Come and join me Live for the third instalment of my YouTube Live Stream as I guide you step by step on how to code an Android App in 2021! Not only that but I am 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 working on during this stream is a simple "Recipe" app using the fantastic MealDB API to provide a huge list of dishes/meals with their recipes and instructions. You can find the code repository here: https://github.com/Kardelio/Disher (Make sure you select the `live-stream` branch to see the code from these videos) [Also please note that this repo is absolutely open for any PRs during the time of Hacktoberfest (https://hacktoberfest.digitalocean.com/)] In the first part I have already set up the first screen of the app, the category list screen that makes a network request to the mealdb API and returns a list of food categories that I then display to the UI (using Jetpack Compose). The project also uses 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. In the second part I set up the second screen (dish list screen) & implemented the MVVM layers for it, as well as using the sealed class approach to dictate and structure the potential different UI states (Loading, Success & Error). I did not manage to deal with all the UI for the screen in this episode, so it is very likely that I will continue with this at the start of this episode! 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 I am 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 and ask lots of lovely questions as I take you with me 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) 10:31 - Intro 14:55 - Bit of Chat... 17:10 - Sealed Class Mess-up from Stream 2 35:55 - RECAP from previous streams... 42:22 - Talking about Compose Navigation 51:09 - Coding time... 1:04:00 - Compose function new screen 1:19:00 - Setting up MVVM stack 1:45:35 - Wiring up VM (ViewState) 2:09:40 - Outro Links =========================== 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: 52 (LIVE [Part 3]) #Android #Compose #Kotlin