Hi Philipp,
Could you let me know the UI control that you have used to display the data in the first view?
If you are using a Table UI (sap.ui.table.Table) then there are different events available like rowSelectionChange. The below link may help you.
Regards,
Rahul Muraleedharan.