textarea from method

I have 2 views view1 and view2.(ios)
From view1 i call a method to extract some data that i want to be on the view1.But some of them i want to have it on view2,but i don’t get any values back fro view2.
I have the bellow code inside on method

dim details as new view2 dim pTitle as text = d.value("myvalue") details.textarea1.text= ptitle