Skip to content

EditText without hint  #333

@tsvelichkov

Description

@tsvelichkov

Having an EditText without hint causes NPE in 2.3.0

W/System.err: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String java.lang.CharSequence.toString()' on a null object reference at com.hbb20.CountryCodePicker.setEditText_registeredCarrierNumber(CountryCodePicker.java:1131) at com.hbb20.CountryCodePicker.registerCarrierNumberEditText(CountryCodePicker.java:1737)

Adding an empty android:hint="" fixes the issue but causes warning in the studio

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