Update all the examples according to the new View api.