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
正常show以后,用手指下滑,这个弹窗会消失——问题来了:当再次show的时候,就不再显示了(但是界面会有遮罩,只是弹窗不显示); 重新进界面则可以显示(provinceDialog重新创建了实例),但假设我不进行下滑把弹窗弄没,而是按返回键,则没有这个bug的
�代码如下: ` if (provinceDialog == null) { int columnsNum = 3; List datas = new ArrayList<>(); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"1")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"222")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"333333")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"444")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"55")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"666"));
datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"7777")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"fddsf")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"67gfhfg")); datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"oooooppp")); ConfigBean configBean = StyledDialog.buildBottomSheetGv("title", datas, "bottomTxt", columnsNum, new MyItemDialogListener() { @Override public void onItemClick(CharSequence charSequence, int i) { LogUtil.d(TAG,"onItemClick(),charSequence:"+ charSequence + "/// i:"+i); } }); provinceDialog = configBean.show(); }else provinceDialog.show();`
The text was updated successfully, but these errors were encountered:
至于为什么我这么写,只是想减少一点开销
Sorry, something went wrong.
No branches or pull requests
正常show以后,用手指下滑,这个弹窗会消失——问题来了:当再次show的时候,就不再显示了(但是界面会有遮罩,只是弹窗不显示);
重新进界面则可以显示(provinceDialog重新创建了实例),但假设我不进行下滑把弹窗弄没,而是按返回键,则没有这个bug的
�代码如下:
` if (provinceDialog == null) {
int columnsNum = 3;
List datas = new ArrayList<>();
datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"1"));
datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"222"));
datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"333333"));
datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"444"));
datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"55"));
datas.add(new BottomSheetBean(R.mipmap.ic_launcher,"666"));
The text was updated successfully, but these errors were encountered: