Use setView() in example