How do i remove or clear the PIMListListeners for a BlackBerryContactList?
I added a Listener like so:
BlackBerryContactList contactList = (BlackBerryContactList)PIM.getInstance().openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);
contactList.addListener(new ContactsChangeListener());
So now when i start my app it adds another new listener
You’ll probably just need to reboot the device to clear them out.
To keep this from happening again, store a reference to your ContactsChangeListener, and then in your app’s onClose() method add a
removeListener()call so when the user ends your app it gets cleaned up.