Skip to content

Commit

Permalink
fix: Set selected contry spinner
Browse files Browse the repository at this point in the history
fixes #2005
  • Loading branch information
kroikie committed Feb 24, 2022
1 parent 0960234 commit 1eb33c7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +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) {
mSelectedCountryInfo = info;
setText(info.toShortString());
}

Expand Down

0 comments on commit 1eb33c7

Please sign in to comment.