SimpleWeather-纯 Kotlin 开发的一款简单的天气应用。.zip

上传者: 38743481 | 上传时间: 2019-12-21 21:38:56 | 文件大小: 142KB | 文件类型: zip
纯 Kotlin 开发的一款简单的天气应用。国际惯例,先看截图:关于这个应用天气接口来源于 Apixu,UI 参考于琥珀天气。 使用 Kotlin 语言开发,网络请求采用 RxKotlin Retrofit 实现。 其没有使用 mvp,mvvm,drgger 之类的框架,总体而言,代码与逻辑比较简单,更多的算是对 Kotlin 开发 Android 的初次尝试。 有什么问题,欢迎 issue 。Demo体验 Demo

文件下载

资源详情

[{"title":"( 80 个子文件 142KB ) SimpleWeather-纯 Kotlin 开发的一款简单的天气应用。.zip","children":[{"title":"SimpleWeather-master","children":[{"title":".gitignore <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 916B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"sfyc23","children":[{"title":"simpleweather","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 409B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"sfyc23","children":[{"title":"simpleweather","children":[{"title":"ui","children":[{"title":"hourly","children":[{"title":"ForecastHourAdapter.kt <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"HourFragment.kt <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"city","children":[{"title":"CityActivity.kt <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"MainActivity.kt <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"MyApplication.kt <span style='color:#111;'> 734B </span>","children":null,"spread":false},{"title":"daily","children":[{"title":"DailyFragment.kt <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"ForecastDailyAdapter.kt <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"overview","children":[{"title":"OverviewFragment.kt <span style='color:#111;'> 7.21KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"data","children":[{"title":"api","children":[{"title":"WeatherService.kt <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false},{"title":"network","children":[{"title":"HttpManager.kt <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"ApiException.java <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"ResponseConvertFactory.kt <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"GsonResponseBodyConverter.kt <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"WeatherObserver.kt <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":false},{"title":"event","children":[{"title":"EventData.kt <span style='color:#111;'> 259B </span>","children":null,"spread":false}],"spread":false},{"title":"model","children":[{"title":"DataResult.kt <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"domain","children":[{"title":"DataDomain.kt <span style='color:#111;'> 138B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"util","children":[{"title":"extensions","children":[{"title":"DelegatesExtensions.kt <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"CommonExt.kt <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"UiThreadHandler.kt <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"Klog.kt <span style='color:#111;'> 13.12KB </span>","children":null,"spread":false},{"title":"adapter","children":[{"title":"StickyHeaderAdapter.kt <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"StickyHeaderDecoration.java <span style='color:#111;'> 7.30KB </span>","children":null,"spread":false},{"title":"DividerDecoration.kt <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"rxbus","children":[{"title":"RxBusExt.kt <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"RxBus.kt <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"ids.xml.xml <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 555B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"layout_header_main.xml <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"fragment_hour.xml <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"layout_toolbar.xml <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"item_forecast_daily_header.xml <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"item_forecast_hour.xml <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"fragment_daily.xml <span style='color:#111;'> 741B </span>","children":null,"spread":false},{"title":"item_forecast_daily.xml <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"activity_city.xml <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"fragment_overview.xml <span style='color:#111;'> 8.81KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"ic_menu_slideshow.xml <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"ic_menu_overview.png <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"ic_feelslike.png <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"ic_pressure.png <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"ic_menu_daily.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"side_nav_bar.xml <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"ic_cloud.png <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"ic_menu_about.png <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"ic_menu_hourly.png <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"ic_menu_camera.xml <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"ic_menu_manage.xml <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"ic_wind.png <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"ic_menu_share.xml <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"ic_menu_send.xml <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"ic_humidty.png <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"ic_menu_gallery.xml <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"bg_daliy_time.xml <span style='color:#111;'> 407B </span>","children":null,"spread":false},{"title":"ic_visibility.png <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"activity_main_drawer.xml <span style='color:#111;'> 963B </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 343B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":[{"title":"history.json <span style='color:#111;'> 9.77KB </span>","children":null,"spread":false},{"title":"search.json <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"forecast.json <span style='color:#111;'> 9.91KB </span>","children":null,"spread":false},{"title":"current.json <span style='color:#111;'> 485B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"sfyc23","children":[{"title":"simpleweather","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 766B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明