Android Issues Roundup (Part 2)

Second batch of collected issues, mainly covering WebView memory management, cookie synchronization, and other development details. ...

January 19, 2016 · 3 min · haoxiqiang

Building an App with RxJava

I’ve been working on a Zhihu Daily client to evaluate RxJava’s benefits and trade-offs in a real project. RxJava has gained significant traction abroad, with language bindings spanning Java, JavaScript, C#, Scala, Clojure, C++, Python, Ruby, Kotlin, Swift, and more. ...

January 7, 2016 · 2 min · haoxiqiang

Android Development Issues and Solutions

After reading some issue roundups on Xiaoke’s Blog, I realized I’ve encountered many of the same problems. Here’s a collected summary. ...

December 29, 2015 · 5 min · haoxiqiang

Android Resource Shrinking

While building a project, I discovered the shrinkResources attribute, which removes unused resources from the APK. Here is how to configure it and what to watch out for. ...

December 23, 2015 · 2 min · haoxiqiang

Tree View Menu with RecyclerView

I had long wanted to write a tree view demo. Previously, I used TreeViewList (a ListView wrapper) or ExpandableListView for multi-level menus. Eventually I realized there is no need for custom views – just use RecyclerView and manage the data flattening yourself. The core idea: recursively flatten a nested data structure into a linear list, then use notifyItemRangeInserted / notifyItemRangeRemoved to handle expand and collapse. ...

December 16, 2015 · 3 min · haoxiqiang

Lorem Ipsum — Placeholder Text

A colleague asked me today what this text meant: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid veniam harum quas similique quis, quisquam tempore iste. Alias soluta dolorum ratione, dolorem quia corrupti, suscipit eveniet dolor dignissimos voluptas laborum debitis ea fugiat aliquam rem ullam minus a aliquid pariatur! ...

December 4, 2015 · 2 min · haoxiqiang

Some Git Operations

Basic commands are well documented elsewhere. Here are some operations I’ve found useful in real projects. ...

September 10, 2015 · 1 min · haoxiqiang

Solving Problems from Error Logs — Bugly Blog Collection

We use Tencent Bugly for crash monitoring in our project. Most crash reporting tools are similar in functionality; Bugly was chosen for its clean statistics dashboard and reliable brand. Here is a curated collection of Bugly’s technical blog posts covering common crash scenarios and analysis approaches. ...

July 29, 2015 · 1 min · haoxiqiang

Java Reflection: Modifying Private Static Final Fields

While debugging memory leaks, I often need to modify field values via reflection. I came across a great Stack Overflow answer worth documenting. ...

June 16, 2015 · 2 min · haoxiqiang

Common Issues When Customizing Volley

While integrating Volley into a project, I encountered several common issues worth documenting. The following does not apply to Android 2.3 and below. ...

June 9, 2015 · 1 min · haoxiqiang