Twitter: [ Ссылка ]
Github: [ Ссылка ]
THIS VIDEO IS PART 4, you can find the second part here: [ Ссылка ]
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: [ Ссылка ]
Come and join me Live for the forth 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: [ Ссылка ] (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 ([ Ссылка ])]
In the previous parts I have already set up the 3 different screens; 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 dishes list screen that presents the user with a list of dishes from the selected category & the dish detail screen (UI still to be compelted). The project 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.
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.
In this instalment I will attempt to make some progress on the detail screen UI & also begin to implement a requested (Audience requested feature, you can make your own requests in the issues tab for the repo: [ Ссылка ]) feature; the ability to add persistence storage to the app, like a database (ROOM database). In this episode I will set this up and get it working to save user selected "favourites" to the DB.
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:04 - Intro
11:26 - Bit of Chat...
16:13 - Announcements...
25:56 - RECAP from previous streams...
30:25 - Coding time...
33:43 - Compose detail screen abit
57:59 - Creating collapsable text component
1:03:40 - Conditional modifier blocks (Article)
1:24:07 - Hit 3K subs! woo
1:30:20 - Setting up Room Database
2:23:13 - Outro & Jokes
Links ===========================
Meal DB API:
[ Ссылка ]
-------------------------------------
Tools:
-------------------------------------
Video Editing: [ Ссылка ]
Image Editing: [ Ссылка ]
Camera: Canon M50
-------------------------------------
Credits:
-------------------------------------
Intro Card Music: [ Ссылка ]
In Video Music: Youtube Audio Library
In Video Background: Made by me
Thumbnail Icons: Icons made by Freepik from [ Ссылка ]
Vid: 54 (LIVE [Part 4])
#Android #Compose #Kotlin
![](https://s2.save4k.ru/pic/OPVxbL5LTII/maxresdefault.jpg)