0
down vote
favorite
i have list of movies and i want when user does tap on the movie to change page and go to details page with this movie details.
here is my listview:
here is my itemTap function:
viewModel.itemTap = (args) => {
const navOptions={
moduleName:‘details’,
context:{
bindData:args.object.bindingContext
}
}
console.log(args.object.items)
topmost().navigate(navOptions);
}
this part args.object.items gives me full list but i dont know how to get current item which i taped… please help