Skip to content

Loading speed slowdown #333

@charlizesmith

Description

@charlizesmith

Hi,

I have implemented the library exactly following the steps that are shown in Readme file. But the loading speed is very slow as compared to the sample project. Is there any other change which needs to be made in order to achieve the faster loading of videos and images as well as albums etc?

Here is the piece of code I am using from ReadMe .Please let me know the solution.

Album.album(this)
.multipleChoice()
.columnCount(2)
.selectCount(6)
.camera(true)
.cameraVideoQuality(1)
.cameraVideoLimitDuration(Integer.MAX_VALUE)
.cameraVideoLimitBytes(Integer.MAX_VALUE)
.checkedList(mAlbumFiles)

            .onResult(new Action<ArrayList<AlbumFile>>() {
                @Override
                public void onAction(@NonNull ArrayList<AlbumFile> result) {
                    mAlbumFiles = result;
                    Log.d("album","selction count"+mAlbumFiles.size());
                }
            })
            .onCancel(new Action<String>() {
                @Override
                public void onAction(@NonNull String result) {

// Toast.makeText(AlbumActivity.this, R.string.canceled, Toast.LENGTH_LONG).show();
}
})
.start();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions