Skip to content

"Found not to show search" was shown as Toast Message #52

@ravi8x

Description

@ravi8x

I have tried the below code snippet to show my spinner dropdown. I have very limited countries and don't want to show search option.

<com.hbb20.CountryCodePicker
                android:id="@+id/ccp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:contentColor="@android:color/white"
                app:hideNameCode="true"
                app:showFlag="false"
                app:keyboardAutoPopOnSearch="false"
                app:selectionDialogShowSearch="false"
                android:layout_gravity="center_vertical"
                app:customMasterCountries="US,IN,HK,SG"/>

When the dropdown is selected, a toast message saying Found not to show search was shown. I think it was caused by https://github.com/hbb20/CountryCodePickerProject/blob/master/ccp/src/main/java/com/hbb20/CountryCodeDialog.java#L36 this line.

How can I avoid this? What is the purpose of 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