Picasso: "Could not create epoll instance. errno=24"

Created on 26 Mar 2014  路  3Comments  路  Source: square/picasso

After scrolling in a ListView a couple of times i get this error and my app crashes. I'm loading the image into the ImageView like this on getView:

        Image = (ImageView)row.findViewById(R.id.image_list);
        Picasso Img= new Picasso.Builder(context).build();
        Img.load(R.drawable.test)
                .transform(new RoundedTransformation(6,0))
                .fit()
                .into(Image);

It happen even if I remove the transformation.

Most helpful comment

Please do not create a new Picasso instance for every download.

Use the singleton.

Picasso.with(context).load(...)

Or create your own singleton and use that.

All 3 comments

Please do not create a new Picasso instance for every download.

Use the singleton.

Picasso.with(context).load(...)

Or create your own singleton and use that.

Ah, that fixed it. Thanks, you can remove the issue...

Also, don't create a new RoundTransformation object for each request.

Make once and reuse it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StErMi picture StErMi  路  6Comments

shekharsumn picture shekharsumn  路  3Comments

caoguodong picture caoguodong  路  3Comments

ivanmagdic picture ivanmagdic  路  3Comments

JakeWharton picture JakeWharton  路  7Comments