Picasso.with (this) works in the main class and in the created class what to write to this place?

  • pass the context there. Activity - Sviat Volkov
  • the method requires a “live” instance of the Context class (obtained from Activate or View , not just new Context() ) - pavlofff
  • Yes. I have already figured out. CPS - Green Map

1 answer 1

Pass the Context there. getApplicationContext for example

  • Yes, I have already solved the problem like this) - Green Map
  • @GreenMap I just did not see that you noted any answer to the correct, and therefore wrote) - shcherbuk
  • Ahhh. I recently here. I did not know that here you can mark the correct answers - Green Map