Added public method to add content in a generic View