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
不添加多选监听时会崩溃 /** * @author KARL-dujinyang */ class OnCheckBoxCheckListener implements CompoundButton.OnCheckedChangeListener{ private MediaBean mediaBean;
public OnCheckBoxCheckListener(MediaBean bean){ this.mediaBean = bean; } @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if(mConfiguration.getMaxSize() == mMediaActivity.getCheckedList().size() && !mMediaActivity.getCheckedList().contains(mediaBean)) { AppCompatCheckBox checkBox = (AppCompatCheckBox) buttonView; checkBox.setChecked(false); Logger.i("选中:" + mMediaActivity.getResources().getString(R.string.gallery_image_max_size_tip, mConfiguration.getMaxSize())); iMultiImageCheckedListener.selectedImgMax(buttonView, isChecked, mConfiguration.getMaxSize()); } else { if(iMultiImageCheckedListener!=null) iMultiImageCheckedListener.selectedImg(buttonView, isChecked); } } }
iMultiImageCheckedListener空指针
The text was updated successfully, but these errors were encountered:
我也遇到了
Sorry, something went wrong.
GET
多选图片超过最大值空指针 #107 ---- 新版本1.0.3解决,下午发布;
No branches or pull requests
不添加多选监听时会崩溃
/**
* @author KARL-dujinyang
*/
class OnCheckBoxCheckListener implements CompoundButton.OnCheckedChangeListener{
private MediaBean mediaBean;
iMultiImageCheckedListener空指针
The text was updated successfully, but these errors were encountered: