How to achieve the following results on a sampler in ImageView Android, such as Pinterest?

I used Picasso in my Android app, which has a lot of images. It works and looks good. I am trying to make the UI simpler and more user friendly. I have a place for my images before uploading the actual images. But its white color. I want to create an image of a place depending on the primary color of the image, such as pinterest.

Pinterest placeholder images before uploading the main image. The following screenshot:

enter image description here

And after loading the image, it displays the correct image based on the foreground color specified for the placeholder:

enter image description here

Is it possible to reach the Picasso library provided by Square or which way to reach.

Please, help.

+4
1

, , , . , /, , . Google v7 "", API, , .

: - , , , , , ! , Pinterest () JSON, .

, , /. :


/ ( Willow Tree)

+1

All Articles