Java 类com.squareup.leakcanary.LeakTrace 实例源码

项目:boohee_v5.6    文件:DisplayLeakAdapter.java   
public void update(LeakTrace leakTrace, String referenceKey, String referenceName) {
    if (!referenceKey.equals(this.referenceKey)) {
        this.referenceKey = referenceKey;
        this.referenceName = referenceName;
        this.elements = new ArrayList(leakTrace.elements);
        this.opened = new boolean[(this.elements.size() + 1)];
        notifyDataSetChanged();
    }
}
项目:leakcannary    文件:DisplayLeakAdapter.java   
public void update(LeakTrace leakTrace, String referenceKey, String referenceName) {
  if (referenceKey.equals(this.referenceKey)) {
    // Same data, nothing to change.
    return;
  }
  this.referenceKey = referenceKey;
  this.referenceName = referenceName;
  this.elements = new ArrayList<LeakTraceElement>(leakTrace.elements);
  opened = new boolean[1 + elements.size()];
  notifyDataSetChanged();
}
项目:LeakCanary4Eclipse    文件:DisplayLeakAdapter.java   
public void update(LeakTrace leakTrace, String referenceKey, String referenceName) {
  if (referenceKey.equals(this.referenceKey)) {
    // Same data, nothing to change.
    return;
  }
  this.referenceKey = referenceKey;
  this.referenceName = referenceName;
  this.elements = new ArrayList<LeakTraceElement>(leakTrace.elements);
  opened = new boolean[1 + elements.size()];
  notifyDataSetChanged();
}
项目:leakcanary-for-eclipse    文件:DisplayLeakAdapter.java   
public void update(LeakTrace leakTrace, String referenceKey, String referenceName) {
  if (referenceKey.equals(this.referenceKey)) {
    // Same data, nothing to change.
    return;
  }
  this.referenceKey = referenceKey;
  this.referenceName = referenceName;
  this.elements = new ArrayList<>(leakTrace.elements);
  opened = new boolean[1 + elements.size()];
  notifyDataSetChanged();
}
项目:leakcanary    文件:DisplayLeakAdapter.java   
public void update(LeakTrace leakTrace, String referenceKey, String referenceName) {
  if (referenceKey.equals(this.referenceKey)) {
    // Same data, nothing to change.
    return;
  }
  this.referenceKey = referenceKey;
  this.referenceName = referenceName;
  this.elements = new ArrayList<>(leakTrace.elements);
  opened = new boolean[1 + elements.size()];
  notifyDataSetChanged();
}