Display a Captured Image on CardView

448 Views Asked by At

I am making an application using CardView / RecyclerView
I made the UI looks like I want to and with hardcoded data it works really well.

Here is an image of my CardView

enter image description here

So.What I want to do is :

Capture a picture Display that picture in my Card View

I have followed this code for capturing and displaying an Image and works great alone.

I'm not showing my code since I'm only asking for guidance and not for plain code.

My Java files are MainActivity, Item, ItemsAdapter.

1

There are 1 best solutions below

0
On

You can get Uri instead of bitmap from intent (use library like Picasso or Glide to load an image into ImageView). Then pass on an Uri to your model and refresh changed item.