MyListener(int id, PullPushAdapter ad) { this.id = new Integer(id); this.ad = ad; ad.registerListener(this.id, this); }