Weapose – Weather ❤️ Compose
This is an example for show current weather from any location. The Weapose is builted by Android Jetpack Compose, MVVM, Clean Architecture, etc.
This app is inspired by:
I want to say thanks for those people to help me to make this app.
? How to build app
Using android 13 and above to build app.
Using the newest version of Android Studio Canary.
You must add
local.propertiesto build and run Weapose app, like the code below:
BASE_URL=https://api.openweathermap.org/data/2.5/ API_KEY=API_KEY // Fill your open weather api key in here MAPS_API_KEY= GOOGLE_MAPS_API_KEY // Fill your google maps api key in here
|Light mode||Dark mode|
- Show the current weather by location.
- Choice the location you want by using Google Map.
- Support dark mode.
- Support dynamic material from Android 13 and above.
- Support English and Vietnamese.
- Upcomming ….
Weapose is built according to the Clean Architecture model combined with the MVVM design pattern. To learn more, refer to the links below.
- Guild to app architecture by Google Android.
- Clean architectur by Uncle Bob.
? Data flow
Weapose is supported by
suspend for data stream flow in app.
❌ Error flow
In data module, when data is returned error, I will transform the error to
ResponseException. And then in domain and presentation, I transform the error from
WeatherException to show the error to UI.
If you have any issues with the project, don’t hesitate to create an issue. Also I’m glad you can contribute to my project.
Let’s develop together to create quality and beautiful Android Jetpack Compose applications!
☕ Buy me a coffee
Welcome to my github! ?
Don’t forget to buy me a coffee so that I have more motivation to improve the project! ?
Copyright 2022 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.