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

MaskProgressLayoutListener中的onItemClose如何获取下标? #95

Closed
lishiyu1810 opened this issue Dec 3, 2024 · 1 comment
Closed

Comments

@lishiyu1810
Copy link

在onItemClick中使用mplImageList.getImagesAndVideos().indexOf(multiMediaView)会正确返回,
而在onItemClose使用mplImageList.getImagesAndVideos().indexOf(multiMediaView)会报错
image

@zhongjhATC
Copy link
Owner

#46
请按照这个规范提问题

目前在最新demo中的MainActivity的onItemClose加入mBinding.mplImageList.getImagesAndVideos().indexOf(multiMediaView); 这句代码是完全能获取的

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