Comments (15)
不用谢!
from matisse.
不用谢!
very nice
from matisse.
我的处理方式AlbumMediaCollection中加个方法
public void refreshLoad(@nullable Album target, boolean enableCapture) {
Bundle args = new Bundle();
args.putParcelable(ARGS_ALBUM, target);
args.putBoolean(ARGS_ENABLE_CAPTURE, enableCapture);
mLoaderManager.restartLoader(LOADER_ID, args, this);
}
MediaSelectionFragment中加个方法
public void refreshLoad(Album album) {
mAlbumMediaCollection.refreshLoad(album, selectionSpec.capture);
}
MatisseActivity 中onAlbumSelected(Album album) 方法进行处理
if (fragment == null) {
fragment = MediaSelectionFragment.newInstance(album);
getSupportFragmentManager()
.beginTransaction()
.replace(R.id.container, fragment, MediaSelectionFragment.class.getSimpleName())
.commitAllowingStateLoss();
} else {
fragment.refreshLoad(album);
}
完毕
from matisse.
see #812
from matisse.
我使用的是依赖方式,你这种操作是只能将Matisse下载到本地再修改?
是的啊,下载源码, 以模块的方式导入到项目里面
from matisse.
修改AlbumMediaCollection 里面的 LOADER_ID 就好了,每个collection都使用单独的LOADER_ID.
from matisse.
from matisse.
修改AlbumMediaCollection 里面的 LOADER_ID 就好了,每个collection都使用单独的LOADER_ID.
你这个修改的前提还是得下载到本地了,如果Author能更新一下这个lib就好了~
from matisse.
不用谢!
非常棒
from matisse.
from matisse.
我这边这样改,预览会崩溃
from matisse.
from matisse.
from matisse.
from matisse.
from matisse.
Related Issues (20)
- Camera is getting crashed please check this issue and fix asap.
- 图片横竖屏切换,会无法再显示图片相册内容,并且选择图片其他的分类相册也无法显示
- File Not show such as .pdf, . xls, . txt, . Doc in android 11 HOT 1
- 请问还会继续更新维护吗?
- The images do not show in android 10 and android R (11).
- Will this library be maintained?
- Mi Note 3 ,Android9读取相册崩溃
- Cannot access camera in Android OS 12 HOT 4
- Matisse error app crashes- android.content.ActivityNotFoundException: Unable to find explicit activity class HOT 1
- 同时限制图片数量和视频数量不起作用
- 选择图片列表显示空白 HOT 7
- Android13适配怎么处理呢?求助 HOT 4
- 用Matisse进行拍照,有的手机获取不到图片的经纬度
- I want to Select all or deselect all pics from album, how is it possible?
- 图片选择相册页排序有些问题,对于app调用ContentResolver保存的新图片都显示在了最后
- java.lang.NullPointerException 拍照后奔溃,Android12 HOT 3
- 推荐另一个图片选择框架,已适配到 Android 13
- Release Build Failed
- 是否有单独视频预览的接口?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matisse.