Change image dynamically

I have the requirement where i need to change the image in card layout dynamically.

Can someone help

  Discussion posts and replies are publicly visible

Parents Reply
  • So the requirement is in card layout i need to display image and text.

    Eg: Image1 and text1 needs to be displayed first then it should change to Image2 and text2 then to Image3 and text3 then to Image4 and text4 and finally it should show image1 and text1 and the cycle continues.

    Note text is short description about image eg: if the image is of Apple then text is Apple.

Children