ipradhansk
ipradhansk

Reputation: 352

How to put image dynamically in a Card?

I am querying the images using REST Service where I receive it in a Base64 encoded format. How do I convert it to Bitmap, and then put it on the Card? I am using CardScroller

Upvotes: 0

Views: 229

Answers (1)

Pull
Pull

Reputation: 2246

Without giving any code, what you ask is an entire tutorial on how to create and populate a CardscrollerView...

You will need to convert your Base64 image to an imageview first, here is a similar topic : Base64 To Imageview

Then you will need to populate your imageview in your CardScrollView like this example, here is an example : CardScrollView Tutorial

Upvotes: 1

Related Questions