List of usage examples for android.view.accessibility AccessibilityEvent appendRecord
public void appendRecord(AccessibilityRecord record)
From source file:com.actionbarsherlock.internal.widget.IcsAdapterView.java
@Override public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { if (super.onRequestSendAccessibilityEvent(child, event)) { // Add a record for ourselves as well. AccessibilityEvent record = AccessibilityEvent.obtain(); onInitializeAccessibilityEvent(record); // Populate with the text of the requesting child. child.dispatchPopulateAccessibilityEvent(record); event.appendRecord(record); return true; }/*from ww w. j av a 2 s. c om*/ return false; }