Picasso: Not able to load the image from local storage.

Created on 13 Jul 2016  Â·  4Comments  Â·  Source: square/picasso

I/dalvikvm-heap: Grow heap (frag case) to 23.295MB for 1781875-byte allocation
07-13 13:44:21.669 18667-18667/com.testD/Picasso: Main created [R0] Request{file:///data/data/com.test/files/565/6bd95510-7ea6-4123-92c4-a5f48cc4fbdb.jpg resize(1116,720)}
07-13 13:44:21.676 18667-30514/com.test D/Picasso: Dispatcher enqueued [R0]+7ms
07-13 13:44:21.677 18667-30516/com.test D/Picasso: Hunter executing [R0]+8ms
07-13 13:44:22.182 18667-30514/com.test D/Picasso: Dispatcher batched [R0]+513ms for error
07-13 13:44:22.387 18667-30514/com.test D/Picasso: Dispatcher delivered [R0]+717ms
07-13 13:44:22.525 18667-18667/com.test D/Picasso: Main errored [R0]+856ms

File imageFile = new File(getMediaPath());
Picasso.with(activity)
                    .load(imageFile)
                    .fit()
                    .memoryPolicy(MemoryPolicy.NO_CACHE)
                    .into(imageViewSubject.getValue(), new Callback() {
                        @Override
                        public void onSuccess() {
                        }

                        @Override
                        public void onError() {
                        }
                    });

Most helpful comment

works fine with snapshot version from 07/19/2016.
@JakeWharton Is there any ETA on picasso v2.6? We really need it for our release, if you can provide tentative release date it would be helpful. Thanks.

All 4 comments

without fit() and memoryPolicy() I get the following error:-
Bitmap too large to be uploaded into a texture (4320x2432, max=4096x4096)

works fine with snapshot version from 07/19/2016.
@JakeWharton Is there any ETA on picasso v2.6? We really need it for our release, if you can provide tentative release date it would be helpful. Thanks.

@JakeWharton Can I work on this?

Go for it

On Thu, Sep 13, 2018 at 2:56 PM MONIKA-KUMAR-JETHANI <
[email protected]> wrote:

@JakeWharton https://github.com/JakeWharton Can I work on this?

—
You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/square/picasso/issues/1451#issuecomment-421114823,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEceKyCJv0qI2Pa-CpHJ2n6sUxJ-uks5uaqpugaJpZM4JLsyM
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  Â·  6Comments

austynmahoney picture austynmahoney  Â·  5Comments

sd6352051 picture sd6352051  Â·  7Comments

ghost picture ghost  Â·  5Comments

caoguodong picture caoguodong  Â·  3Comments