All Projects → maoruibin → Gankdaily

maoruibin / Gankdaily

Licence: gpl-3.0
A application used to show technical information in every working days, use MVP pattern.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Gankdaily

Ugank
🍖「有干货」Gank.io 第三方客户端(MVP)
Stars: ✭ 402 (-42.9%)
Mutual labels:  mvp, app, gank
Aiyagirl
🔥 爱吖妹纸(含 Kotlin 分支版本)——Retrofit + RxJava + MVP 架构 APP 体验代码家的干货集中营 Gank.io,福利多多,不容错过
Stars: ✭ 1,109 (+57.53%)
Mutual labels:  rxjava, mvp, gank
Easygank
💊 The project build framework based on the Rx series and MVP pattern.
Stars: ✭ 750 (+6.53%)
Mutual labels:  rxjava, mvp, gank
Gank.io Unofficial Android Client
An unofficial gank. io android client
Stars: ✭ 394 (-44.03%)
Mutual labels:  rxjava, gank
Androidproject
Android 技术中台,但愿人长久,搬砖不再有
Stars: ✭ 4,398 (+524.72%)
Mutual labels:  rxjava, mvp
Firebucket
Glimpse into Firebase, with a simple TODO list app built around Dagger, RxJava 2, Clean architecture and of course, Firebase.
Stars: ✭ 376 (-46.59%)
Mutual labels:  rxjava, mvp
Rxjava Mvp Giphy
Showcase of RxJava used with MVP and some other popular android libraries
Stars: ✭ 429 (-39.06%)
Mutual labels:  rxjava, mvp
Ferro
Simple and powerful MVP library for Android
Stars: ✭ 441 (-37.36%)
Mutual labels:  rxjava, mvp
Gank
干货集中营 app 安卓实现,基于 RxFlux 架构使用了 RxJava、Retrofit、Glide、Koin等
Stars: ✭ 444 (-36.93%)
Mutual labels:  rxjava, gank
Rxweather
Architecting Android with RxJava
Stars: ✭ 570 (-19.03%)
Mutual labels:  rxjava, mvp
Viabus Architecture
让 Android 开发可以像流水线一样高效的,职责分离架构 ⚡ 不同于 MVP 的配置解耦,也不能和 似是而非 的 MVVM - Clean 同日而语。VIABUS 是世界范围内首个明确提出,通过职责分离,来真正实现 UI 和 业务并行开发的 Android 项目级开发架构和设计模式理念。
Stars: ✭ 485 (-31.11%)
Mutual labels:  rxjava, mvp
Androidrapidlibrary
Android 快速开发库,主要想实现一条属于自己的开发框架。包括网络访问,数据,UI等等
Stars: ✭ 577 (-18.04%)
Mutual labels:  rxjava, mvp
Geeknews
📚A pure reading App based on Material Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm + Glide
Stars: ✭ 3,496 (+396.59%)
Mutual labels:  rxjava, app
Eyepetizer
kotlin仿开眼app 学习kotlin mvp retrofit rxjava
Stars: ✭ 352 (-50%)
Mutual labels:  rxjava, mvp
Android Mvp Interactor Architecture
Extension of the android-mvp-architecture for very large projects.
Stars: ✭ 388 (-44.89%)
Mutual labels:  rxjava, mvp
Kotlinmvp
🔥 基于Kotlin+MVP+Retrofit+RxJava+Glide 等架构实现短视频类小项目,简约风格及详细注释,欢迎 star or fork!
Stars: ✭ 3,488 (+395.45%)
Mutual labels:  rxjava, mvp
Materialhome
一个基于 Material Design 风格设计的图书展示类App,豆瓣图书,在线电子书。
Stars: ✭ 331 (-52.98%)
Mutual labels:  rxjava, mvp
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 (-12.64%)
Mutual labels:  rxjava, mvp
Popular Movies App
A simple Android app, that helps user to discover movies. Project 1 & 2 of Udacity Android Developer Nanodegree.
Stars: ✭ 293 (-58.38%)
Mutual labels:  rxjava, app
Clean Android Code
MVP + Dagger 2 + RxJava + Retrofit2
Stars: ✭ 311 (-55.82%)
Mutual labels:  rxjava, mvp

GankDaily

icon

每日提供技术干货的 App

下载

fir

酷安

干货数据源

应用中的所有干货数据均来自干货集中营

干货集中营是一个技术干货共享平台。每个工作日,网站都会分享一些技术干货信息,包括Android、iOS、App等技术干货,除此之外还有福利和休息视频可供你享用。 如果你是移动开发者,这个App一定很适合你。当然,如果你是一个宅男,也许你会对每天的福利更感兴趣。Enjoy it。

App设计

整个项目借鉴自 @drakeet妹纸。但是在原项目基础上, 自己在代码层面和UI层面上做了自己的修改。

UI设计

放弃使用瀑布式的妹子流做主页,转而让首页展示当天干货信息,更加注重干货内容(Content)的呈现, 如下所示,相比原妹纸项目,现在首屏只有一张福利图,如果觉得看的不过瘾,应用也提供了纯妹子视图入口,点击首页 右上角按钮,选择纯妹子,就可以看到所有的妹子们了,更加纯粹的妹子流。

gank_daily_introduce

代码设计

原项目使用 Retrofit+RxJava 的组合获取网络数据,再加上使用Lambda表达式,代码已经变得很精简,所以把获取数据的代码放在 Activity 中也不显得混乱, 但是作为一个有追求的程序员,既然已经知道有 MVP 这种架构模式可以解决项目分层的问题, 那为什么不试着使用 MVP 去对代码进行进一步的优化呢,所以整个项目使用了 MVP 架构,将所有的数据请求、业务逻辑都提取到 Presenter 层中。 使用 MVP 后需要为每一个 Activity 编写一个对应一个 Presenter(控制器)类,让 Activity 担当纯粹的 View 角色, 这样 Activity 就主要负责一些界面更新操作,具体的业务逻辑都交托给 Presenter 层处理,代码结构因此也变得更加清晰。

更多关于项目中对 MVP 模式的实践,这里自己整理了一篇博客进行详细介绍。

MVP 模式在 GankDaily 中的应用

依赖库

参考资料

Author

License

/*
 *       
 * Copyright (C) 2015 Drakeet <[email protected]>
 * Copyright (C) 2015 GuDong <[email protected]>
 *
 * Meizhi is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Meizhi is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Meizhi.  If not, see <http://www.gnu.org/licenses/>.
 */
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].