private void handleSearchType() { if (searchTextField.isFocus) { String text = searchTextField.getText(); _list.removeAll(); _list.invalidate(); for (int i = 0; i < all.size(); i++) { DocumentInfo picInfo = (DocumentInfo) all.elementAt(i); if (picInfo.containKey(text)) { _list.add(picInfo); } } _list.invalidate(); } }
protected void onUiEngineAttached(boolean attached) { if (_list != null) { this.invalidate(); // fieldManager.invalidate(); _list.invalidate(); } super.onUiEngineAttached(attached); }