In my app the user presses a button that uploads their image to Firebase storage and simultaneously brings them to the page with the result. After they have uploaded the image I need to run some commands locally which then uploads the result to Firebase storage. I have the result displaying properly when the image is already in Firebase storage (code used below) but I can't get it to work if I add the image after the user presses the button, is there a way of doing this?
ImageView image = findViewById(R.id.rImage);
Picasso.Builder builder = new Picasso.Builder(this);
builder.listener(new Picasso.Listener()
{
@Override
public void onImageLoadFailed(Picasso picasso, Uri uri, Exception exception)
{
exception.printStackTrace();
}
});
builder.build().load("https://url").into(image);