Are you “building custom”? If you stick to user interface elements, you should be fine. All types of scrolling can already be configured to perform different tasks for cases of limited complexity (for example, for scrolling).
If you create user interface elements from scratch, you can simply override or subclass existing user interface elements so that they function the way you want. If not, you can study the source to find out how the various restriction cases (re-reservations) are implemented. But I feel that you are in the first category.
source share