
Android机制
昵称就是没有昵称
喜欢android开发,喜欢吉他,喜欢音乐,喜欢历史
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
View的事件分发机制
View事件的分发规则 public boolean dispatchTouchEvent(MotionEvent ev) public boolean onInterceptTouchEvent(MotionEvent ev) public boolean onTouchEvent(MotionEvent event) 注意:只有ViewGroup有onInterceptTouchEvent事件V原创 2016-07-18 17:55:46 · 393 阅读 · 0 评论 -
Android消息机制浅析
private Handler handler=new Handler(){ public void handleMessage(Message msg){ //... } }new Thread(new Runnable(){ public void run(){ //... //... //...原创 2016-07-20 13:18:21 · 572 阅读 · 0 评论