> Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
I need a large amount of images by URL. For example:
http://some-domain/image1.jpg
http://some-domain/image2.jpg
http://some-domain/image3.jpg
http://some-domain/image4.jpg
http://some-domain/image5.jpg
http://some-domain/image6.jpg
....
http://some-domain/image_n.jpg
I need it for testing my ...
I can retrieve the package name using:
Context.getPackageName()
or
BuildConfig.APPLICATION_ID
Is there any difference between those 2 ways?
Is one preferred to another in particular situations?
Is it safe to assume that they always give the same result?
Basically, which one is better?
@LutaayaHuzaifahIdris just look at their samples github.com/square/picasso/tree/master/picasso-sample/src/main/… and also use callbacks to see if the url download succeeds. I use glide for image loading now. i used picasso last in 2015. The api has changed a lot since.