Album icon indicating copy to clipboard operation
Album copied to clipboard

Loading speed slowdown

Open charlizesmith opened this issue 4 years ago • 0 comments

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

charlizesmith avatar Sep 28 '21 06:09 charlizesmith