Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijinjin committed Apr 19, 2018
1 parent 8fa37a2 commit c22fcb2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public void setTextByValues(List<String> values){
SpinnerModel data = mData.get(j);
if(null!=value&&data.getValue().equals(value)){
data.setSelectd(true);
if(mStyle==TYPE_MULTI){
if(mStyle==TYPE_SINGLE){
selectPosition = j;
break;
}
Expand All @@ -328,7 +328,7 @@ public void setTextByValues(String[] values){
SpinnerModel data = mData.get(j);
if(null!=values[i]&&data.getValue().equals(values[i])){
data.setSelectd(true);
if(mStyle==TYPE_MULTI){
if(mStyle==TYPE_SINGLE){
selectPosition = j;
break;
}
Expand Down

0 comments on commit c22fcb2

Please sign in to comment.