yangSpica27 / SpicaWeather

基于和风天气api制作的天气预报应用

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpicaWeather

Screenshots

已知问题&目前工作:

  • 空气质量信息指示器
  • 折线图动画
  • 天级别信息详情面板
  • 频繁切换页面,天气动画surfaceView的holder概率会因为lock后未解绑而crash或者渲染异常(已经修复)
  • 城市选择重新设计
  • 雾天的动画

技术栈及其使用的开源库

  • Minimum SDK level 21
  • Kotlin, Coroutines + Flow for asynchronous.
  • Hilt 依赖注入
  • Jetpack
    • ViewModel
    • Room
    • app-startup
  • ViewBinding
  • 架构
    • MVVM为主,混合MVC
  • Retrofit2 & OkHttp3 - 网络请求框架
  • Sandwich - 网络请求相关处理的封装框架
  • Moshi Json解析
  • Coil 用于加载图片
  • Timber -日志打印
  • Material-Components - MD相关组件如recyclerview,cardView
  • 自定义view
    • [SunriseView] - 自定义的日出日落view
    • [templeLineView] - 自定义的折线图

MIT License

Copyright (c) 2022 杨为智

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

基于和风天气api制作的天气预报应用

License:MIT License


Languages

Language:Kotlin 90.2%Language:Java 9.7%Language:Shell 0.1%