We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CityPicker.from(TradeVipActivity.this) .locateComplete( null, LocateState.FAILURE);
在回调以上代码的时候,程序会闪退,建议在CityListAdapter的updateLocateState加入如下非空判断:
CityListAdapter
updateLocateState
public void updateLocateState(LocatedCity location, int state) { if (location != null) { mData.remove(0); mData.add(0, location); } stateChanged = !(locateState == state); locateState = state; refreshLocationItem(); }
The text was updated successfully, but these errors were encountered:
+1 pls
Sorry, something went wrong.
No branches or pull requests
CityPicker.from(TradeVipActivity.this) .locateComplete( null, LocateState.FAILURE);
在回调以上代码的时候,程序会闪退,建议在
CityListAdapter
的updateLocateState
加入如下非空判断:public void updateLocateState(LocatedCity location, int state) { if (location != null) { mData.remove(0); mData.add(0, location); } stateChanged = !(locateState == state); locateState = state; refreshLocationItem(); }
The text was updated successfully, but these errors were encountered: