Add county and alert dialog

This commit is contained in:
RicomenPL 2017-04-04 14:26:05 +02:00 committed by RicomenPL
parent ad4c539584
commit d36e1f4f95

View File

@ -35,7 +35,7 @@ public class MainActivity extends Activity {
private void autoComplete(){
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
ArrayAdapter<String> adapter = new ArrayAdapter<>(this,
android.R.layout.simple_dropdown_item_1line, COUNTRIES);
AutoCompleteTextView textView = (AutoCompleteTextView)
findViewById(R.id.county_text);