# RxWeather
Personal pet project aimed to learn how to use and integrate the following android specific frameworks/libraries/tools:
- [x] RxAndroid / RxJava (Reactive programming)
- [x] Dagger2 (Dependency Injection)
- [x] Retrofit 2
- [x] Realm io / SQLite
- [ ] Junit with Mockito... in progress
The architecture for this applciation is based on the following repository:
https://github.com/android10/Android-CleanArchitecture/
<img src="https://lh3.googleusercontent.com/b-_GbMh6FRNUJbutow7XNgTPrWVVTZrvKbf-dVY0083QLbTIPZu-3zO0U80dPq5Be3Im=h900-rw" width="210">
<img src="https://lh3.googleusercontent.com/jC-E62Ejhh_EIXfm48K3X_sPJKPEdF6URAMxmEMZfWD1PHFExksB85lUxARwrN4AljA=h900-rw" width="210">
<img src="https://lh3.googleusercontent.com/bplb5f8dVpI8PL9gdap4qcJpFRIFTPc0mT0xaRHbLJyTHDJwlz1k2YrVKZ-66SbcYNOE=h900-rw" width="210">
<img src="https://lh3.googleusercontent.com/6pAW1ubZbdOtTx424z8X1vzAXe4wIrxSdOZ09leJgNEezLs6JTFNpOt97J4VPJ0q6QZV=h900-rw" width="210">
* I've originally intended to use Realm.io as the persistence mechanism for this project.
I've changed my mind and used SQLite insted due to several issues I've had trying to use Realm.
1 - Cannot access objects across threads (I did not want to query the db on the main thread)
2 - I've had problems on this and on other projects When storing nested RealmObjects, i.e leaks
3 - If you want to persist a specific class, said class Must Inherit from RealmObject *directly*
4 - Persisting lists on realm is not fully supported at the moment
Avilable on the PlayStore: https://play.google.com/store/apps/details?id=com.feresr.weather
The MIT License (MIT)
Copyright (c) 2016 Fernando Raviola
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.
没有合适的资源?快使用搜索试试~ 我知道了~
小程序源码 APP源码 44_RxWeather-master(仿版).zip
共142个文件
java:71个
xml:36个
png:18个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 5 浏览量
2023-03-11
09:31:08
上传
评论
收藏 419KB ZIP 举报
温馨提示
免责声明:资料部分来源于合法的互联网渠道收集和整理,部分自己学习积累成果,供大家学习参考与交流。收取的费用仅用于收集和整理资料耗费时间的酬劳。 本人尊重原创作者或出版方,资料版权归原作者或出版方所有,本人不对所涉及的版权问题或内容负法律责任。如有侵权,请举报或通知本人删除。
资源推荐
资源详情
资源评论
收起资源包目录
小程序源码 APP源码 44_RxWeather-master(仿版).zip (142个子文件)
gradlew.bat 2KB
.gitignore 91B
.gitignore 7B
build.gradle 2KB
build.gradle 564B
settings.gradle 15B
gradlew 5KB
app.iml 10KB
RxWeather.iml 940B
gradle-wrapper.jar 49KB
SimpleCache.java 20KB
CitiesPresenter.java 13KB
ForecastAdapter.java 13KB
Day.java 9KB
SettingsActivity.java 9KB
WeatherProvider.java 8KB
WeatherContract.java 8KB
WeatherDbHelper.java 7KB
CitiesFragment.java 6KB
MainActivity.java 6KB
SearchFragment.java 5KB
Currently.java 5KB
Hour.java 5KB
CitiesAdapter.java 5KB
SearchPresenter.java 4KB
DayForecastAdapter.java 4KB
ForecastFragment.java 3KB
IconManager.java 3KB
CityWeather.java 3KB
ExampleUnitTest.java 3KB
RoundedCardLayout.java 2KB
InfoDisplay.java 2KB
ForecastPresenter.java 2KB
WeatherDetailActivity.java 2KB
AlarmReceiver.java 2KB
ForecastIODataSource.java 2KB
SuggestionAdapter.java 2KB
CurrentlyViewHolder.java 2KB
RecyclerItemClickListener.java 1KB
Flags.java 1KB
RepositoryImp.java 1KB
Hourly.java 1KB
Daily.java 1KB
City.java 1KB
HourlyViewHolder.java 1KB
DayViewHolder.java 1KB
GetCityForecastUseCase.java 1KB
NetworkingModule.java 1KB
NetworkReceiver.java 969B
AppModule.java 940B
DataStorageFactory.java 926B
Alert.java 848B
RemoveCityUseCase.java 799B
SaveCityUseCase.java 796B
DiskDataSource.java 795B
AppComponent.java 792B
HourlyForecastViewHolder.java 775B
BaseFragment.java 753B
GetCitiesUseCase.java 732B
DataCache.java 722B
RxWeatherApplication.java 692B
ForecastIOEndpoints.java 594B
WarningViewHolder.java 566B
Warning.java 523B
DataModule.java 478B
UpdatedAtViewHolder.java 476B
DailyViewHolder.java 473B
CitiesView.java 455B
Repository.java 401B
Presenter.java 374B
ApplicationTest.java 349B
DataSource.java 290B
FragmentInteractionsListener.java 285B
SearchView.java 249B
DisplayWeatherInfo.java 228B
GoogleApiClientProvider.java 224B
ForecastView.java 223B
HasComponent.java 207B
NetworkListener.java 167B
UseCase.java 166B
View.java 118B
city_bw.jpg 142KB
README.md 3KB
.name 9B
ic_no_cities.png 21KB
ic_launcher-web.png 19KB
ic_semi-web.png 10KB
ic_launcher.png 5KB
ic_exclamation.png 4KB
ic_launcher.png 4KB
ic_launcher.png 2KB
ic_launcher.png 2KB
ic_settings.png 1KB
ic_launcher.png 1KB
ic_settings.png 645B
ic_settings.png 505B
ic_settings.png 313B
ic_add_white_48dp.png 116B
ic_add_white_48dp.png 113B
ic_add_white_48dp.png 102B
共 142 条
- 1
- 2
资源评论
金枝玉叶9
- 粉丝: 195
- 资源: 7637
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 用QT写的usb摄像头播放器,可以用于linux平台和Windows平台 因为QT配置不同在不同平台下都可以编译,希望对你有所帮助
- Matlab语言教程:覆盖基础知识至高级应用
- 计算机科学中汇编语言的基础教程与应用
- 【重磅,更新!】国内外期刊最全信息库(6万多本期刊)(2024版)
- ECAM ODB++资料解析C++调用和C#调用的例程
- 安装office2010时提示MSXML问题的一键修复工具
- R语言中机器学习基础与实战:监督学习和无监督学习的应用
- 价值50元的茅子单页商城 PHP单页下单商城源码
- 【重磅,更新!】国自然管理学部标书80+份(内附清单)(2005-2021年)
- windows 自动关机小程序
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功