Skip to content

Commit

Permalink
Merge pull request #2025 from firebase/fix-2005
Browse files Browse the repository at this point in the history
fix: Set selected country spinner
  • Loading branch information
rosalyntan authored Mar 25, 2022
2 parents 0960234 + 2be4312 commit a263a8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public CountryListSpinner(Context context, AttributeSet attrs, int defStyle) {
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
CountryInfo info = mCountryListAdapter.getItem(position);
if (info != null) {
setText(info.toShortString());
setSelectedForCountry(info.getCountryCode(), info.getLocale());
}

onUnfocus();
Expand Down

0 comments on commit a263a8a

Please sign in to comment.