Skip to content

AmapWeatherApp(高德天气):an amap-weather android app that implements MVVM architecture using LiveData, ViewModel, Room, DataBinding, WorkManager, and Retrofit2&Rxjava2.

Notifications You must be signed in to change notification settings

caobaokang419/WeatherApp

Repository files navigation

Mvvm Amap Weather App:

  • MMVM: using the MVVM architecture which is the newest app architecture and also recommended by android.
  • Amap Weahter: using amap apis to access the weather datas provided by amap server.

Screenshots:


Functions:

  • Amap weather: using both Get and Post methods to query amap weather data;
  • City configs file: using Xutils3 to download and save Aamp weather city config file
  • Global data apis: using ContentProvider and SharedPreference, provided data access apis both weather db datas and app configs.
  • Data cache manager: provided the implement of the disc and memory data cache function;
  • Async task manager: 1. provided the wrapper of the ThreadPoolExecutor and the implementation of TaskExecutor;
  • Data filter manager: provided the implement of the chain to filter data.

Uis:

  • View pager: using ViewPager to implement to change ui pages when LTR and RTL slide.
  • Common UIs: implement common customer ui views using for code reusing.
  • RecycleView Wrapper: RecyclerView is recommended by android and better than ListView;
  • City search:auto search the item from the city list when input search key word;

JetPack components:


Third-party libraries:


Android mvvm Architecture:


Thanks


Contact with Me:

Wechat: lovelisa323 QQ: 302634630 Mail: caobaokang86@gmail.com csdn: https://cbk419323.blog.csdn.net/


License

Copyright (C) 2019 GaryCao Copyright (C) 2013 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.

About

AmapWeatherApp(高德天气):an amap-weather android app that implements MVVM architecture using LiveData, ViewModel, Room, DataBinding, WorkManager, and Retrofit2&Rxjava2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages