Android源码
cjh94520
就一个编程男····见男多见女,对电脑时间多过女友··
展开
-
AsyncTask源码解析
```public abstract class AsyncTask<Params, Progress, Result> { private static final String LOG_TAG = "AsyncTask"; //下面这4个常量是设置到并发执行时的线程池 private static final int CPU_COUNT = Runtime.getRunt原创 2016-10-13 05:08:09 · 398 阅读 · 0 评论 -
HandlerThread源码分析
public class HandlerThread extends Thread { int mPriority; int mTid = -1; Looper mLooper; //默认的构造方法就是要传参 public HandlerThread(String name) { super(name); mPriority =原创 2016-10-14 22:01:30 · 280 阅读 · 0 评论 -
IntentService源码分析
IntentService源码分析public abstract class IntentService extends Service { private volatile Looper mServiceLooper; private volatile ServiceHandler mServiceHandler; private String mName; pri原创 2016-09-21 16:27:07 · 358 阅读 · 0 评论 -
SwipeRefreshLayout源码分析
public class SwipeRefreshLayout extends ViewGroup implements NestedScrollingParent, NestedScrollingChild { // Maps to ProgressBar.Large style public static final int LARGE = MaterialPro原创 2017-04-20 22:25:00 · 312 阅读 · 0 评论 -
SparseArray源码分析
```/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen原创 2016-09-25 11:51:30 · 450 阅读 · 0 评论