Example for handling button interrupt?

I would like to implement button interrupt handler. I found two examples in nRF5 SDK v16.0.0. One is examples\peripheral\pin_change_int. And another one is components\libraries\button\app_button.c. Which one will you suggest?

Related