Saving photo to image view


#1

Hey all. Firstly needs to be said, that I am totally new to kotlin and creating my first program.
The problem is to save photo every time you make it to new generated image view.
Here is code:


The target is to simplify process of sending 2+ photos through gmail client in Android.
You fill recipient address inside a program,make text,create photo and one click send it to someone
Got only one idea like to dynamically change id of image view and save it there.
But it looks like impossible to me.
So basically what I am trying to do is to save new photos to another image view, not to replace the first one.
Pls help )
seebastion
Thanks