自己用的东西

1.AsyncHttpClient使用单例模式


public class CustomerHttpClient {
    private static HttpClient customerHttpClient;
    
    private CustomerHttpClient() {
    }
    
    public static HttpClient getHttpClient() {
        if(null== customerHttpClient) {
            customerHttpClient =new DefaultHttpClient();
        }
        return customerHttpClient;
    }
}




2.client有取消请求的方法
public void cancelRequests(Context context, boolean mayInterruptIfRunning)


3.SoftRenference Bitmap 结合
http://blog.csdn.net/jdsjlzx/article/details/7609335
http://blog.csdn.net/jdsjlzx/article/details/7609367




4.Android遇到内存溢出(Out Of Memory)BUG的经验与解决方法
http://blog.csdn.net/jdsjlzx/article/details/7635061




5.全局处理异常




仿新浪微博向下拉动刷新功能


http://www.devdiv.com/-article-2591-1.html

你可能感兴趣的:(新浪微博,null,Class)