Comments (14)
我试试,应该可以省去一些代码,感谢建议~
from androidfine.
还有,结合ViewPager,最近很流行用TabLayout,可以试试用这个来替换PagerSlidingTabStrip
from androidfine.
回头试试TabLayout。还有什么好东西?都建议一下
from androidfine.
还在看你的代码,没看完,看完了再和你说
from androidfine.
欢迎。近期可能会把PullToRefresh换成Ultra-Pull-To-Refresh
from androidfine.
代码大概都看完了,说说几个想法
1.代码总体来说,实现比较基础,好多都是第三方源码,不能算是一个框架,只能算一个学习例子
2.总体代码结构有点冗余,没有很好的利用各种设计模式
3.网络请求利用handle消息机制队列来发送请求结果,可能会用内存泄露,我觉得这里有点多余,使用抽象方法,加一个接口,是不是更好呢
一点小建议,可能有些不对的地方,望采纳
from androidfine.
- 主要是整合了一些常用组件,个别包装了一层,本身并没有特别的深度和难度,只是提供便利
- 你说的设计模式主要包含什么?在android里很少用到设计模式
- 第三点没看太明白,特别是内存泄漏,可否举例说明,这是个大问题!
from androidfine.
2.主要用的比较多的是观察者,Build,工厂,单例,外观这些
3.Handle结合线程很容易内存泄露,这个处理要小心一点;仅仅是觉得这里使用Handle有点不合理,你可以用LC测试一下
from androidfine.
TabLayout,不好用,效果也不好
from androidfine.
结合材料设计语言,还是不错的哦
from androidfine.
MD是方向,要用的,需要结合设计效果会很好
from androidfine.
下拉刷新 用recycleView呢
from androidfine.
Ultra-Pull-To-Refresh支持各种布局下拉刷新
from androidfine.
minSdkVersion 14
org.apache.http.HttpException 等相关的代码应该可以换掉吧.
from androidfine.
Related Issues (20)
- swipeback 的处理 HOT 2
- CirclePageIndicator动画效果
- 不错,希望继续更新。 HOT 1
- 关于AndroidFine Eclipse版本 HOT 3
- com.yuzhi.fine.R HOT 1
- Bug
- 第一次运行会黑屏一段时间,几秒钟的时间 HOT 1
- 轮播图问题 HOT 2
- 感谢与意见 HOT 1
- 内存泄漏 HOT 1
- 右滑页面出现问题
- 建议
- 建议加recycleview和Rxjava
- 下载apk到手机上,怎么直接就程序未响应了? HOT 3
- 继承SwipeBackActivity后 设置背景图片 运行起来后不显示背景图片
- 点击进去网络报错,而且想要导包出很多问题
- 提示网络异常,上拉重试
- 项目太旧
- utils下的SharedPreferences 应该私有化构造函数。
- 框架可以更新到安卓9.0吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidfine.