when i try to make a call for this method "setupWithViewPager" i didn't found it : in parent class because parent class are extends from LinearLayout and This function is in class HorizontalScrollView how can i fix this problem

tabLayout.setupWithViewPager(viewPager);