how to pass View objects(TextView,Button..etc) from one activity to another activity?
<p>I have an activity which has to display fields <strong>dynamically</strong> from an array of custom class which is having strings and date data types.</p>

<p>here for date data type I am trying to create customDate Class where i am creating a TextView and Button and want to return these 2 values back to the main activity and same for string data type as well. But facing a problem while returning View objects.
If it is not a correct idea, plz suggest me some thing.</p>

<ul>
<li>I have implemented parcelable for sending the custom object and retrieving the values in second activity</li>
<li>The number fields i have to create are also dynamic in number.</li>
</ul>

<p>I can not create all the views in same activity because, while working with onclick listener it ll be a problem. (I have more than 1 date types n string types) </p>
