搜狗输入法三种候选词及键盘反应

1.中文键盘候选词不在输入框里面,因此输入框只有非候选词状态
2.英文键盘一直是候选词状态,但是能够监听回车键
3.日文键盘一直是候选词状态,但是不能监听回车键

OkHttp使用gzip时的坑

Accept-Encoding: gzip is added automatically and the gzip’d response will be ungzipped transparently. You can confirm by looking for the Transfer-Encoding: gzip header on the networkResponse() on the Response object.
https://github.com/square/okhttp/issues/2132
主动添加 Accept-Encoding 不会自动去解析 gzip 资源
转自:https://www.jianshu.com/p/a9d861732445