Build a Weather App from Scratch: Jetpack Compose & Clean Architecture Tutorial (Step-by-Step)
Vložit
- čas přidán 28. 07. 2024
- This step-by-step tutorial guides you through building a weather app using modern Android development tools. Implement Clean Architecture for a modular, maintainable, and testable codebase. Leverage Retrofit for efficient network calls and data fetching. Manage dependencies seamlessly with Dagger Hilt for a clean and organized approach.
Want to Learn More about Jetpack Compose and Clean Architecture? Join our Comprehensive
bit.ly/461PjBZ
Source Code:
github.com/Hoodlab/Jet-weather
Weather Api
open-meteo.com/en/docs
00:00 Intro
00:01:13 Project Walk througth
00:03:24 Weather ApI
00:05:50 The Data Layer
00:13:06 The Domain Layer
00:22:21 Data Mappers
00:38:37 Dagger Hilt Modules
00:49:20 Weather Repository
00:55:15 Repository Hilt Module
00:57:10 Home UI
01:28:13 Daily UI
01:48:59 Bottom Bar Navigation
#jetpackcomposetutorial #androidappdevelopment #composetutorial
At 38:02 this is poetry! I love how you @Injected the current/daily/hourly mapper interfaces instead of instantiating them (messy). Great idea and I have not seen this done before.
Thank you for providing such a beautiful step-by-step tutorial✨
.
.
One request, can you make a video on clean architecture and what folders, files are required to be created because I get confused most of the times, because when I watch someone else tutorial or code they have a different approach of managing their project.
So far (30 minutes in) this is a great video Hood 🙂 One suggestion: "Entity" is typically a term reserved for database operations. For API interactions, the typical terminology is "DTO" for data-transfer object". In this case (so far) you are clearly using DataClasses that are DTOs since there is no local database beiing used. This is a nitpick though; otherwise I think your approach is 100% right one.
Bro can you make such projects with compose multiplatform pleaseee
thank you
make music player use 5 sound get sound from raw folder