RxJava+RxBus+Retrofit+Glide+Material Design Weather App

Overview

就看天气

Build Status

就看天气该应用就是如同它的名字一样,只做一个单纯、简单的看天气软件。这么多天气软件,你选择了我,这是我的幸运。

从15年10月上线,到目前经历两次重大改版,一次代码的重构,一次界面的大幅度改动,目的都是为了你们。 在开源的过程中,收到了很多来自有趣的你们的邮件。我也曾遇到过棘手的问题无处咨询又谷歌不到。那个时候的我,也可能是现在的你。所以我希望能够帮助到你。


简介

就看天气——是一款遵循 Material Design 风格的只看天气的APP。

  • 卡片展现(当前天气情况,未来几小时天气情况,生活建议,一周七天概况)
  • 缓存数据,减少网络请求,保证离线查看
  • 内置两套图标(设置里更改)

权限说明

">
	
	<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
	
	<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
	
	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
	
	<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
	
	<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
	
	<uses-permission android:name="android.permission.INTERNET"/>
	
	<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
	
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
	<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

下载地址

Fir.im: http://fir.im/seeWeather

酷安市场:http://www.coolapk.com/apk/com.xiecc.seeWeather

豌豆荚:http://www.wandoujia.com/apps/com.xiecc.seeWeather

更新日志

TODO

  • 桌面小部件
  • 通知栏提醒
  • 更好,更多的天气ICONS
  • 管理城市(多城市选择)
  • 自动定位
  • 自由定制的Item界面
  • 引导页面

项目

公开 API

天气数据来源于:和风天气

城市信息来源于:CSDN

地理定位服务: 高德地图

开源技术

  1. Rxjava
  2. RxAndroid
  3. Retrofit
  4. GLide

截图

感谢

感谢开源,学习到了前辈们优秀的代码:

感谢优秀的设计师提供素材:

License

Copyright 2017 HugoXie Inc.

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.

软件中图片素材均来源于网络,版权属于原作者。

You might also like...
Shumba money weather app, using openweather api and retrofit
Shumba money weather app, using openweather api and retrofit

Shumba Money Weather App Language KOTLIN Libraries used 1.) Retrofit library - REST Client for Java and Android. It makes it relatively easy to retrie

☀️ 🌤 Sample weather app with Retrofit, Hilt and Coroutines ☀️ 🌤
☀️ 🌤 Sample weather app with Retrofit, Hilt and Coroutines ☀️ 🌤

WeatherAppsX app is a sample networking app showing weather forecast of the current day and the average forecast for the next four days.

A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar
A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar

#Android-LollipopShowcase This is a simple showcase to show off Android's all new Material Design and some other cool new stuff which is (new) in Andr

Find your dream Job -  built with MVVM ,GraphQL ,Glide, Shimer
Find your dream Job - built with MVVM ,GraphQL ,Glide, Shimer

nextJob Find your dream Job The idea of the application is to help users find job opportunities and internships that exist on the internet in an organ

Show worldwide headline. API/Glide library/recycler view/volley library/kotlin/xml/ chrome custom tabs
Show worldwide headline. API/Glide library/recycler view/volley library/kotlin/xml/ chrome custom tabs

Show worldwide headline. API/Glide library/recycler view/volley library/kotlin/xml/ chrome custom tabs. - you can click on headline and it will open an article of that news in the app(no need to go to chrome or any browser)

📱 Android Library to implement Rich, Beautiful, Stylish 😍 Material Navigation View for your project with Material Design Guidelines. Easy to use.
📱 Android Library to implement Rich, Beautiful, Stylish 😍 Material Navigation View for your project with Material Design Guidelines. Easy to use.

Material NavigationView for Android 📱 📱 Android Library to implement Rich, Beautiful Material Navigation View for your project with Material Design

CoroutinesFlow and ViewModel Retrofit API - Practice with CoroutinesFlow, ViewModel and Retrofit API

Practice with Coroutines Flow, ViewModel and get data with Retrofit from two API

A simple weather application focused on material UI and API data calls.

YAWA-WeatherApp YAWA is a simple single screen, single activity weather app with material UI. This repository is mainly focused on people who want to

Movie discovery app showcasing MVP, RxJava, Dagger 2 and Clean Architecture
Movie discovery app showcasing MVP, RxJava, Dagger 2 and Clean Architecture

MovieGuide 🚧 Refactoring in progress 👷‍♀️ ⛏ 👷 🔧️ 👷 🔧 🚧 Comments and new issues are welcome. 👍 Currently not accepting external PRs that touch

Comments
  • 修复ViewPager快速切换时,Fab可能出现状态不对的问题

    修复ViewPager快速切换时,Fab可能出现状态不对的问题

    问题原因

    ViewPager 切换时,Fab 调用了 hide() 方法。 如果 Fab 尚未完全隐藏时,ViewPager 再次切换,则 Fab 会忽略此次 hide() 操作。(可参看 FloatingActionButtonIcs 源码中 isOrWillBeHidden() 方法和 mAnimState属性。) 而 Fab 的 onHidden() 回调中,使用的 position 被 final 修饰,导致快速切换时,回调中的 position 可能与当前不符,最终导致 ViewPager 快速切换时,Fab可能出现状态不对的问题。

    解决方案

    使用内部类替换 FloatingActionButton.OnVisibilityChangedListener 的匿名内部类,避免 position 被 final 修饰。

    opened by GuJin 2
  • 修复ViewPager快速切换时,Fab可能出现状态不对的问题

    修复ViewPager快速切换时,Fab可能出现状态不对的问题

    问题原因

    ViewPager 切换时,Fab 调用了 hide() 方法。 如果 Fab 尚未完全隐藏时,ViewPager 再次切换,则 Fab 会忽略此次 hide() 操作。(可参看 FloatingActionButtonIcs 源码中 isOrWillBeHidden() 方法和 mAnimState属性。) 而 Fab 的 onHidden() 回调中,使用的 position 被 final 修饰,导致快速切换时,回调中的 position 可能与当前不符,最终导致 ViewPager 快速切换时,Fab可能出现状态不对的问题。

    解决方案

    使用内部类替换 FloatingActionButton.OnVisibilityChangedListener 的匿名内部类,避免 position 被 final 修饰。

    opened by GuJin 0
Releases(V2.03)
  • V2.03(Feb 28, 2016)

    • 修复:修复了4.4状态栏灰色的适配问题(方法用的有点笨,如果有好的方法请告诉我)
    • 修复:修复了缓存逻辑
    • 修复:修复了选择城市卡顿
    • 优化:将省份城市选择逻辑Rx化异步操作。
    • 优化:增加进度展示,让用户不再懵逼,增加使用体验

    有点难传所以就用 网盘保存历史版本

    Source code(tar.gz)
    Source code(zip)
  • V2.02(Feb 25, 2016)

NewsApp - Modern Minimalistic Design, MVVM, Pagination, Retrofit, Coroutines, Room, Glide, Navigation Component (Clean Architecture)

NewsApp is a modern news android application which features virtually ALL recent and recommended android development tech stack and tools used

Osama Sayed 4 Dec 6, 2021
Weather-app - Making Weather application using retrofit from api

weather-app Motivasyon Hava Durumu uygulamasını api'den retrofit kullanarak yapm

İsa Kulaksız 0 Nov 2, 2022
MarsRealEstate is a simple demo app using ViewModel & LiveData with Retrofit, Glide and Moshi in Kotlin.

Android-NASA-Real-Estate-Mars Is Android app that uses Kotlin and MVVM architecture is a simple app that uses Coroutines, LiveData with Retrofit, Glid

Dmytro K 0 Nov 17, 2021
Advanced Android Weather App using MVVM Architecture Sample (ViewModel + LiveData + Kotlin + volley) = Weather App

Advanced Android Weather App using MVVM Architecture Sample (ViewModel + LiveData + Kotlin + volley) = Weather App Video Weather.-.HD.720p.mov Introdu

wykee2 4 Jul 12, 2022
(Coroutine, Flow(+StateFlow), Hilt, JetPack, MVVM, Repository Pattern, Retrofit2 & OkHttp3, Moshi, Glide, Timber, Material-Components)

(Coroutine, Flow(+StateFlow), Hilt, JetPack, MVVM, Repository Pattern, Retrofit2 & OkHttp3, Moshi, Glide, Timber, Material-Components)

훈성 2 Nov 15, 2022
Instagram clone App in android using Kotlin, LiveData, MVVM, Dagger, RxJava and Retrofit.

Instagram-Project-in-android-with-MVVM-architecture Project from MindOrks Professional Bootcamp with self practice work and added some additional feat

Abhishek Solanki 3 Feb 28, 2022
WeatherProject - Weather Project using GPS data and the weather from the API based on the search

WeatherProject In this project, I showed the weather at the current location usi

null 6 Apr 26, 2022
☁️🌤🌧☀ Weather Android application that gives you the weather information of your saved location or any region you are looking for☁️🌤🌧☀

☁️????☀ Weather Android application that gives you the weather information of your saved location or any region you are looking for☁️????☀

Nisa Efendioğlu 4 Apr 6, 2022
A simple Pokedex App getting API with Retrofit, maintaining data using LiveData, and Material Design based on MVVM architecture

PokedexApp Pokedex A simple Pokedex App getting API with Retrofit, maintaining data using LiveData, and Material Design based on MVVM architecture. Te

Steven Adriano 0 Apr 12, 2022
Weather App using Retrofit Kotlin Android

NewsFeed Built an Android App which displays current weather and weather forecast of a selected city to the user. Features Coroutines Hilt JSON Parsin

Kumar Baibhav 1 Oct 4, 2022