RecyclerTreeView
RecyclerTreeView copied to clipboard
animation too slow
太慢了太慢了
rv.setItemAnimator(null);
// Prevent multi-click during the short interval.
try {
long lastClickTime = (long) holder.itemView.getTag();
if (System.currentTimeMillis() - lastClickTime < 500)
return;
} catch (Exception e) {
holder.itemView.setTag(System.currentTimeMillis());
}
硬生生弄出一个不应期来,有点low……

https://github.com/KnIfER/PolymPic/commit/3800a5e78bcdee9d1c42e1f8189b1e6c554c9d44
调教完毕,能快速响应点击事件。
关于 #16 ,其实是onToggle监听处理失当。