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
在vivoR9s上初始化一次后,只有第一次弹出点击选项有效果,之后再弹出,click选项无效,longClick选项才有效。
if (typelist.size() > 0) { String[] array = new String[typelist.size()]; for (int i = 0; i < typelist.size(); i++) { array[i] = typelist.get(i).getTypename(); } typeAlertView = new AlertView("类别", null, "取消", null, array, context, AlertView.Style.ActionSheet, (o, position) -> { Logger.e(position+""); if (position == -1) { typeAlertView.dismiss(); } else { typeid = typelist.get(position).getId(); typeName.setText(typelist.get(position).getTypename()); typeAlertView.dismiss(); } }); typeAlertView.setCancelable(true); }
The text was updated successfully, but these errors were encountered:
同问
Sorry, something went wrong.
No branches or pull requests
在vivoR9s上初始化一次后,只有第一次弹出点击选项有效果,之后再弹出,click选项无效,longClick选项才有效。
if (typelist.size() > 0) {
String[] array = new String[typelist.size()];
for (int i = 0; i < typelist.size(); i++) {
array[i] = typelist.get(i).getTypename();
}
typeAlertView = new AlertView("类别", null, "取消", null, array, context, AlertView.Style.ActionSheet, (o, position) -> {
Logger.e(position+"");
if (position == -1) {
typeAlertView.dismiss();
} else {
typeid = typelist.get(position).getId();
typeName.setText(typelist.get(position).getTypename());
typeAlertView.dismiss();
}
});
typeAlertView.setCancelable(true);
}
The text was updated successfully, but these errors were encountered: