Skip to content

When showDialog should performFiltering #16

@Noitidart

Description

@Noitidart

If we just showDialog, it doesn't filter the list based on the text. So we have to do this:

            MyAutoCompleteTextView v = (MyAutoCompleteTextView) view;
                v.showDropDown();
                CharSequence text = v.getText();
                v.performFiltering(text, 0);

However this giving me the following error:

C:\Users\Mercurius\Documents\GitHub\autocomplete\node_modules\autocompletetextview\android\src\main\java\com\reactlibrary\AutoCompleteTextViewManager.java:52: error: performFiltering(CharSequence,int) has protected access in AutoCompleteTextView
                    v.performFiltering(text, 0);

Any ideas on how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions