Skip to content
New issue

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 点击无反应 #34

Open
YanxuLi opened this issue Nov 28, 2017 · 1 comment
Open

vivoR9s 点击无反应 #34

YanxuLi opened this issue Nov 28, 2017 · 1 comment

Comments

@YanxuLi
Copy link

YanxuLi commented Nov 28, 2017

在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);
}

@wangzixu5678
Copy link

同问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants