weather_go's People
weather_go's Issues
风力notification
替换图标
添加about页面
推送预警信息
城市数据更新后立即刷新
#22 属于这一issue下细分
多城市
ChoiceCityActivity添加actiontittle显示城市选择
自动定位、利用百度定位api
引入rxjava
引入litepal管理数据库
加入按小时的天气信息
天气信息无风微风情况下的风力显示
获取必应(或其他)每日一图作为天气背景
每日一图需要打开app后再下拉刷新才成功;也就是第二次刷新出现
scroll
不是每次打开豆刷新,即刷新逻辑不直接放在start方法中而是打开后判断sp中数据是否过期(一小时)
关于加入反馈
在某些信息不全的城市中比如香港,花莲,祥符区等天气信息不全的地方todayweather的背景图片会不能显示
前台weidget
使用Gson代替JSONObject
autoservice中,直接在主线程刷新是不行的,应该仿照mainfragment异步刷新
分享天气功能
一周天气上下午天气相同时也全部显示
BuildConfig
更多的引入retrofit
将在线编译本地化
weathergo加入图表📈
优化,单例模式
glide加载图片
遵照MD风格https://material.io/guidelines/material-design/environment.html#
添加县级天气数据
利用bmob登录注册存储设置信息
加入登录注册功能
利用腾讯云java或php,做一个后台获取每日一图的接口
WeatherMain的MainFragment的onStart()中不直接刷新,应读取SharedPreference的JsonText获取最近的Weather对象
再进行刷新时间间隔判断,超过一个常量(一小时、半小时等)再进行刷新
这样可以减少数据请求次数和流量消耗也可以加快首次打开app时数据加载的速度;
自定义城市搜索dialog+about完善
scroll主界面之后floatActionButton就消失不见,不再显示了
迁移x3接口到v5接口
晚上大概六点半以后到深夜这一段时间app会崩溃,连续崩溃两次
设计WeatherMain页面天气刷新机制,哪些情况刷新,哪些不刷新
后台service定时查询天气
weathermain第二个fragment中加入图标
在WeatherMain界面上,没有关闭而是跳转到其他页面时会fc
分析原因是生命周期中的某一步出现问题
将weathermain内部对数据的处理移动到weatheradapter中去
重新排版天气显示界面
创建Sharedpreference、Toast、snakebar等工具类
引入cardView布局
优化天气显示界面
刷新失灵原因
下周进入delt-week优化补充新功能
发现重大问题
(1)***新安装程序,会出现两次左右fc才会正常查询天气;解决思路:初始化一个城市信息
(2)从ChoiceActivity跳转到WeatherMain中不能立即刷新
(3)刷新逻辑有待更新,不应该直接每次进入刷新,这样浪费api次数,又影响体验
重大bug,后台十分钟左右会崩溃两次
尽快优先解决
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.