diff --git a/matisse/src/main/java/com/zhihu/matisse/internal/model/AlbumMediaCollection.java b/matisse/src/main/java/com/zhihu/matisse/internal/model/AlbumMediaCollection.java index fa25939ec..f7cf52c64 100644 --- a/matisse/src/main/java/com/zhihu/matisse/internal/model/AlbumMediaCollection.java +++ b/matisse/src/main/java/com/zhihu/matisse/internal/model/AlbumMediaCollection.java @@ -31,7 +31,7 @@ import java.lang.ref.WeakReference; public class AlbumMediaCollection implements LoaderManager.LoaderCallbacks { - private static final int LOADER_ID = 2; + private static final int LOADER_ID = hashCode(); private static final String ARGS_ALBUM = "args_album"; private static final String ARGS_ENABLE_CAPTURE = "args_enable_capture"; private WeakReference mContext;