long story short, ive got fragmnet (catalog) which holds cardview, that fills from json file that stream from my server.
on card click, im poping DialogFragment, that asks the user to fill how many items he want from this specific "product", after i get the quantity, my dilemma starts...
How to pass the image itself to the dialog and from the dialog to the fragment (userCart), I want to display the image again in listview in userCartFragment.
I know passing view isn't a solution, but i read that maybe with uri its is possible, and so with the bitmap convertion to array.
Which way you guys think would be better, or maybe you have any better solution for this.
Any advise/snippet would be appreciated! Thank you!