-3

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.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

1 Answers1

0

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.

Skye
  • 1,469
  • 3
  • 14
  • 25