I am using a custom view from here. I want to disable user interactions with the view pager 2 using this:
binding.viewPager2.setUserInputEnabled(false);
But, it moves when I click on a dot of that view. I tried to disable that using this:
binding.dotsView.setEnabled(false);
But, that does not seem to work.
Then how can we disable clicks on it?