I am trying to load an image from a URL into an ImageView
using Picasso.
The image for the shared transition is inside a CardView
in a RecyclerView
and the second it just in a LinearLayout.
The first time the request is made the element doesn't animate as picasso needs to load the image into the view, but on subsequent requests it is fine.
How can I ensure that the ImageView
has been successfully populated before initiating the transition?