replace(source,target)

replaces one view with another

Parameters

  • source - the view that needs being removed
    • object
  • target - the new view
    • object

Returns