All Projects → SmartDengg → Rxweather

SmartDengg / Rxweather

Architecting Android with RxJava

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rxweather

Mvpandroid
Sample app to demonstrate MVP (Model - View - Presenter) architecture in android
Stars: ✭ 91 (-84.04%)
Mutual labels:  rxjava, mvp, mvp-android, mvp-pattern
Android Clean Architecture Boilerplate
Apply clean architecture on Android
Stars: ✭ 141 (-75.26%)
Mutual labels:  rxjava, mvp, mvp-android, mvp-pattern
Kotlinrxmvparchitecture
Clean MVP Architecture with RxJava + Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Includes Unit Tests(Kotlin Tests)!
Stars: ✭ 94 (-83.51%)
Mutual labels:  rxjava, mvp, mvp-android, mvp-pattern
Mvparms
⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).
Stars: ✭ 10,146 (+1680%)
Mutual labels:  rxjava, mvp, mvp-android, mvp-pattern
Kotlinmvparchitecture
Clean MVP Architecture with Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Added Unit Tests(Kotlin Tests)!
Stars: ✭ 143 (-74.91%)
Mutual labels:  mvp, mvp-android, mvp-pattern
Supermvp
MVP“美”图+新闻+天气预报+Material+RxJava3+Retrofit2+Glide4+AndroidX+Leakcanary+Butterknife
Stars: ✭ 763 (+33.86%)
Mutual labels:  rxjava, mvp, mvp-android
Android tmdb clean architecture
Showcase of clean architecture concepts along with Continuous Integration and Development for modular Android applications. Includes test suits (functional and unit tests) along with code coverage.
Stars: ✭ 63 (-88.95%)
Mutual labels:  rxjava, mvp, mvp-android
Android Kotlin Mvp Clean Architecture
Clean architecture blueprint using Kotlin and MVP pattern.
Stars: ✭ 105 (-81.58%)
Mutual labels:  mvp, mvp-android, mvp-pattern
Mvpframes
整合大量主流开源项目并且可高度配置化的 Android MVP 快速集成框架,支持 AndroidX
Stars: ✭ 100 (-82.46%)
Mutual labels:  rxjava, mvp, mvp-android
Androidbasemvp
🚀一个快速搭建MVP+RxJava2+Retrofit 基础框架,主要是封装有Http网络请求、日志、缓存、加载等待、toast、页面状态布局管理、权限、RxBus、Glide图片加载等组件,方便快速开发新项目、减少开发成本。
Stars: ✭ 184 (-67.72%)
Mutual labels:  rxjava, mvp, mvp-android
Firebucket
Glimpse into Firebase, with a simple TODO list app built around Dagger, RxJava 2, Clean architecture and of course, Firebase.
Stars: ✭ 376 (-34.04%)
Mutual labels:  rxjava, mvp, mvp-android
Android Kotlin Mvp Architecture
This repository contains a detailed sample app that implements MVP architecture in Kotlin using Dagger2, Room, RxJava2, FastAndroidNetworking and PlaceholderView
Stars: ✭ 615 (+7.89%)
Mutual labels:  rxjava, mvp, mvp-android
Android Mvp Architecture
🏛 A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.
Stars: ✭ 203 (-64.39%)
Mutual labels:  mvp, mvp-android, mvp-pattern
Trickl
trickl torrent client
Stars: ✭ 50 (-91.23%)
Mutual labels:  mvp, mvp-pattern, mvp-android
wikilight
A lightweight Wikipedia Client
Stars: ✭ 50 (-91.23%)
Mutual labels:  mvp, mvp-pattern, mvp-android
KotlinMvpTemplateGenerator
Android Studio template for Kotlin with MVP + Dagger2 + Retrofit2
Stars: ✭ 65 (-88.6%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Mvpart
🎨 A new Android MVP architecture (此框架旨在解决传统 MVP 类和接口太多, 并且 Presenter 和 View 通过接口通信过于繁琐, 重用 Presenter 代价太大等问题).
Stars: ✭ 776 (+36.14%)
Mutual labels:  mvp, mvp-android, mvp-pattern
Memorize
🚀 Japanese-English-Mongolian dictionary. It lets you find words, kanji and more quickly and easily
Stars: ✭ 72 (-87.37%)
Mutual labels:  mvp, mvp-android, mvp-pattern
Android-Starter-Kit
This is up-to-date android studio project for native android application, that is using modern tools and libraries.
Stars: ✭ 16 (-97.19%)
Mutual labels:  mvp, mvp-pattern, mvp-android
EdgeMvp
一个MVP架构利器。自动生成接口文件,且不需要实现接口。
Stars: ✭ 56 (-90.18%)
Mutual labels:  mvp, mvp-pattern, mvp-android

#RxWeather

##@Deprecated

简介

这是一个简单的天气预报项目,目的是用来演示如何使用RxJava构造一个清晰的Android应用框架,并且加入了Rxbus,为了节约时间成本,界面并没有经过特别的设计,配色和控件的摆放也没有遵循Material Design设计规范,所以,它并不具备一款Android App所应该具备的素质,为此,我深感抱歉和遗憾。

我写了一篇文章,对这个项目做更深入的描述和解释:

Architecting Android with RxJava

架构

Model View Presenter:

MVP-Architecture

The Clean Architecture:

Clean-Architecture

工程结构

  • presentation: Presenters、Views、Exceptions

  • usercase: UseCase

  • model: Service、Entities

  • common: Util、Constants、Event、RxBus、RxAndroid

公开API

使用百度地图获取位置信息。

使用和风天气公开接口,获取一周天气预报(暂不支持经纬度查询)。

使用Openweathermap提供的部分资料。

用法

首先,因为目前这个版本不支持分页加载,所以,没有提供上拉加载功能。

其次,除了HeaderView天气是根据当前位置获取之外,其余天气均通过读取domain module下的city.txt文件来获取一周内天气。

通过以下步骤进行修改或增加:

  1. 下载Openweathermap提供的资料city.list.json.gz这个文件,找到需要的城市json字符串,复制到city.txtcities数组中。

  2. 在和风天气提供的国内城市ID列表中,找到对应城市的ID进行替换。

最后,搜索功能,输入城市地区的时候,请不要以“市”、“区”结尾,例如:用“北京”代替“北京市”,“朝阳”代替“朝阳区”。

GIF

关于开发者

小鄧子的简书

小鄧子的慕课网专题

Follow me on Weibo

参考

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].