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

Loading speed slowdown #333

Open
charlizesmith opened this issue Sep 28, 2021 · 0 comments
Open

Loading speed slowdown #333

charlizesmith opened this issue Sep 28, 2021 · 0 comments

Comments

@charlizesmith
Copy link

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();

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

1 participant