Replace derecated leafView() by leafGridView().