Okhttp3 Source Analysis

周末在家断点调试了一下okhttp的执行流程,翻看了一下okhttp的源码,对okhttp有了一个大致的了解,在这记录一下。okhttp的精

Develop Jni Program in Mac

本文主要讲述如何在Mac开发环境下进行JNI开发。 首先编写好Java文件,示例程序主要示范了Java访问C,C访问Java静态与非静态域。 1

Writing Better Adapters

Implementing adapters is one of the most frequent tasks for an Android developer. It’s the base for every list. Looking at apps, lists are the base of most apps. The schema we follow to implement list views is often the same: a View with an adapter that holds the data. Doing this all the time can make us blind to what we are writing, even to ugly