Skip to content

Image not loading on switch of folder #854

@Miteshmakwana73

Description

@Miteshmakwana73

image not showing on switch of folder

this is what i done so far

btnPick.setOnClickListener {
            Matisse.from(this@ImagePicker)
                .choose(MimeType.ofAll())
                .capture(true)
                .captureStrategy( CaptureStrategy(true, BuildConfig.APPLICATION_ID))
                .theme(R.style.Matisse_Dracula)
                .countable(false)
                .maxSelectable(5)
                .maxOriginalSize(0)
                .originalEnable(false)
                .imageEngine(Glide4Engine())
                .showPreview(false) // Default is `true`
                .forResult(111)
        }

Library

repositories {
        google()
        jcenter()
        mavenCentral()
    }



//imagepicker
    implementation "com.zhihu.android:matisse:0.5.3-beta3"

    //glide
    implementation 'com.github.bumptech.glide:glide:4.12.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'

this is what i am getting in log

2021-06-14 16:16:13.273 9322-9322/com.tops.popupmenu W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@21e44eb
2021-06-14 16:16:13.503 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)
2021-06-14 16:16:13.592 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)
2021-06-14 16:16:13.605 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)
2021-06-14 16:16:13.615 9322-9352/com.tops.popupmenu I/chatty: uid=10153(com.tops.popupmenu) RenderThread identical 1 line
2021-06-14 16:16:13.628 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)
2021-06-14 16:16:13.834 9322-9322/com.tops.popupmenu W/Glide: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
2021-06-14 16:16:22.119 9322-9322/com.tops.popupmenu W/.tops.popupmen: Accessing hidden field Landroid/widget/AbsListView;->mIsChildViewEnabled:Z (greylist, reflection, allowed)
2021-06-14 16:16:22.304 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)
2021-06-14 16:16:22.523 9322-9352/com.tops.popupmenu I/chatty: uid=10153(com.tops.popupmenu) RenderThread identical 15 lines
2021-06-14 16:16:22.530 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)
2021-06-14 16:16:23.855 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)
2021-06-14 16:16:23.890 9322-9352/com.tops.popupmenu I/chatty: uid=10153(com.tops.popupmenu) RenderThread identical 3 lines
2021-06-14 16:16:24.191 9322-9352/com.tops.popupmenu D/EGL_emulation: eglMakeCurrent: 0xdc8b8060: ver 3 0 (tinfo 0xdc8e9c50)

this is what i am getting on first time open

Screenshot_1623666781

i am getting this if i switch folder

Screenshot_1623666785
Screenshot_1623666803

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions