Reputation: 896
Picasso.with(this).load("https://firebasestorage.googleapis.com/v0/b/student-help-portal.appspot.com/o/3bcea.PNG?alt=media&token=90466ef2-6072-4861-849f-f1625135125d").into(imageview);
setContentView(R.layout.activity_view_photo);
Upvotes: 1
Views: 36
Reputation: 686
You should write your code like this:
setContentView(R.layout.activity_view_photo);
Picasso.with(this).load("https://firebasestorage.googleapis.com/v0/b/student-help-portal.appspot.com/o/3bcea.PNG?alt=media&token=90466ef2-6072-4861-849f-f1625135125d").into(imageview);
Upvotes: 1