Guest User

Untitled

a guest
Apr 20th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. String url=user.imageURL;
  2.  
  3. Bundle bundle=new Bundle();
  4. bundle.putString("image", url);
  5. Intent in=new Intent(MapsActivity.this,DisplayAcc.class);
  6. in.putExtras(bundle);
  7. startActivity(in);
  8.  
  9. Bundle bundle = this.getIntent().getExtras();
  10. String key = bundle.getString("image");
  11. URL.setText(key);
  12. Picasso.with(this).load(key).placeholder(R.drawable.camera).error(R.drawable.arrow).fit().into(IMAGE, new com.squareup.picasso.Callback() {
  13. @Override
  14. public void onSuccess() {
  15.  
  16. }
  17.  
  18. @Override
  19. public void onError() {
  20.  
  21. }
  22. });
  23.  
  24. bundle=Bundle[{_fbSourceApplicationHasBeenSet=true, image=https://firebasestorage.googleapis.com/v0/b/database-6c62b.appspot.com/o/Accident%2FAccident907.jpg?alt=media&token=dfd78176-9f57-4e55-afca-da5e352d5507}]
  25. key=null
  26. URL=null
Add Comment
Please, Sign In to add comment