Update code to updated view API
Update code to updated view API

aabadie/medInria-public,NicolasSchnitzler/medInria-public,rdebroiz/medInria-public,NicolasSchnitzler/medInria-public,aabadie/medInria-public,NicolasSchnitzler/medInria-public,rdebroiz/medInria-public,rdebroiz/medInria-public,aabadie/medInria-public