Category "picasso"

Get context in xml for "onDraw" in a custom view

I want to load an image from url in onDraw method for the view preview. I tried to do this using Picasso. But, I get an error in the xml. This is the onDraw met

Picasso Fetching Images in Activity, then show them into Fragment's ImageView

I am trying to fetch multiple images in an Activity with FragmentStateAdapter in it. Then I need to show them into some Fragment's ImageView. I want to preload

Picasso 2.5.2 does not load a local image

I am using Picasso 2.5.2 to use it with OkHttp 2.5.0 The code in onCreate() is like below: File mypath = new File(getFilesDir().getAbsolutePath()+"/"+ date +