转载

HackerNews_Kotlin:Google MVP 架构的 Kotlin 实践 Hacker News Android 客户端

HackerNews_Kotlin

  • A HackerNews app written using Kotlin language base Google MVP architectureandroid-architecture
  • 使用Kotlin写的HackerNews客户端,基于Google MVP架构android-architecture

ScreenShot

HackerNews_Kotlin:Google MVP 架构的 Kotlin 实践 Hacker News Android 客户端 HackerNews_Kotlin:Google MVP 架构的 Kotlin 实践 Hacker News Android 客户端

Note

该程序为学习Kotlin写的程序,程序功能比较简单,但包括了App开发中的常见功能。 项目使用了Google官方的MVP架构 Basic Model-View-Presenter architecture。

Libraries

  • Kotlin - http://kotlinlang.org
  • OkHttp - http://square.github.io/okhttp
  • Retrofit - http://square.github.io/retrofit
  • Gson - https://github.com/google/gson
  • Support Recyclerview
  • Android Support appcompat-v7
  • Support Design

Environment

  • Kotlin 1.0.2-1
  • kotlin-android-extensions 1.0.2-1

Thanks

  • HackerNews API
  • kotlin-android-flux
  • androidKotlin

Todo

  • 添加本地缓存
  • 修改获取数据顺序可能不对的bug

License

Copyright 2015 xfans  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at     http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
原文  https://github.com/xfans/HackerNews_Kotlin
正文到此结束
Loading...