Code example for AccessibilityNodeInfo

Methods: setClassName

0
    } 
 
    @Override 
    @SuppressLint("NewApi") 
    public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
        super.onInitializeAccessibilityNodeInfo(info);
        info.setClassName(MultiAutoCompleteTextView.class.getName());
    } 
 
    @Override 
    protected void onLoadEntries(CharSequence[] entries) {
        super.onLoadEntries(entries);
        if (mTokenizer == null) {
            setTokenizer(new CommaTokenizer()); 
        } 
    } 
 
    @Override 
    protected void performFiltering(CharSequence text, int keyCode) {
        if (enoughToFilter()) { 
            int end = getSelectionEnd();