On my firestore db app, I am fetching google photos by URL address and using picasso to display the image view. It works efficiently on my Samsung Galaxy S4 but does not work at all on my Samsung S8. The relevant code:
setContentView(R.layout.encounters_detail);
txtdt = (TextView)findViewById(R.id.dt);
txtdt.setText(model.getDate().toString());
txtencounter=
(TextView)findViewById(R.id.txt_encounter);
txtencounter.setText(model.getEncounter().
toString();
photourl=(model.getPhotoURL().toString());
String urlString = photourl;
try {
URL myURL = new URL(urlString);
photourl = myURL.toString();
}catch (Exception e){
}
imgvw = (ImageView)findViewById(R.id.image);
Picasso.with(context).load(photourl).
fit().into(imgvw);
I appreciate any help.