Is there any way that a View can be cloned in Android? I have a reference to a complicated view which was first inflated from a layout, and then throughout the lifetime of the app was programatically edited, adding subviews, removing views etc.
I need some way to clone this view object. At this point in time in the app, there isn't enough information available for me to re-inflate the layout and apply all of the view modifications to it programatically to get it to match the original view.
Thanks in advance