1. Hybrid:Ionic、Cordova、AngularJS等框架
webView,处理H5
2. View、ViewGroup
public class View implements Drawable.Callback, KeyEvent.Callback,AccessibilityEventSource
This class represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class for widgets, which are used to create interactive UI components (buttons, text fields, etc.). The android.view.ViewGroup subclass is the base class for layouts, which are invisible containers that hold other Views (or other ViewGroups) and define their layout properties.
public abstract class ViewGroup extends View implements ViewParent, ViewManager
A ViewGroup is a special view that can contain other views (called children.) The view group is the base class for layouts and views containers. This class also defines the android.view.ViewGroup.LayoutParams class which serves as the base class for layouts parameters.
Also see LayoutParams for layout attributes.
4. Android Studio 里的 External Libraries 和module里的 jar 包的区别
1.External Libraries
This is not actually a folder but a place where Referenced Libraries (Eclipse Land: Referenced Libraries) are shown. Here's where the Targeted Platform is shown etc.
[Side note: This where many of us in Eclipse Land used to delete the referenced libraries and Fix Project Properties to fix reference errors, remember?]
external libraries 可以从 maven 仓库里面下载,不需要再手动添加了,这样整个项目都能引用【但是要注意包名】
2. libs
This is the standard libs folder that you see in eclipse land too
5. app 内文件存放的路径;data|自定义协议
openFileInput, openFileOutput
6. 反射原理、回调机制、消息机制、线程池
7. 序列化,Serializable、Parceble
实现了这些接口,却不要实现方法,只有一个序列化 id
8. 列表 ArrayList、LinkedList
一个是数组结构,索引效率高,增删效率低,需要移动数据
一个是链表结构,索引效率低,增删效率高,需要移动指针
9. JDK1.8
10. git 常用操作,添加分支,将某一版本切换为 release
先在本地建一个分支,再将此分支推送到服务器
10.1 将分支1的改动同步到分支2中
10.2 Git Merge 操作
11. 泛型
将类型参数,可以限定一个 list 的元素类型
12. 位操作
// 当手指滑动item,取消item的点击事件,不然我们滑动Item也伴随着item点击事件的发生
MotionEvent cancelEvent = MotionEvent.obtain(ev);
cancelEvent.setAction(
MotionEvent.ACTION_CANCEL | (ev.getActionIndex() << MotionEvent.ACTION_POINTER_INDEX_SHIFT));
onTouchEvent(cancelEvent);
1. 位或|、位与&、位非~、异或^
2. 左移<<、右移>>、无符号左移<<<
13. xUtils
14. 设计模式:工厂,适配器,装饰器
15. android.support.v4.view.PagerTabStrip
16. 公钥、私钥
17. 一个http请求的过程
18. synchronized
19. Context、 Activity、 ApplicationContext
20. gitbook、MarkDown
21. shareContent
22. 搭建vpn amazon
23. 授权协议
24. JPush 在app关闭的情况下推送->切换至厂商渠道
25. Material Design
26. Design Pattern http://blog.csdn.net/u012124438/article/category/6730082
27. 博客转移至gitbook、简书等支持markdown语法的站点
28. 数据结构
29. 算法导论
30. 动态权限
31. Daemon