示例#1
0
 @Override
 public void dispose() {
   for (MarketDataViewItem item : mItemMap.values()) {
     item.dispose();
   }
   mItemMap = null;
   mItems = null;
   if (mClipboard != null) {
     mClipboard.dispose();
   }
   super.dispose();
 }
示例#2
0
 private void remove(final MarketDataViewItem item) {
   mItemMap.remove(item.getEquity());
   mItems.remove(item);
   item.dispose();
 }