When my activity is opened the first time I can collapse by dragging on the image but after switching to other tabs I can't collapse the layout by pulling on the image view. Once the view pager is scrolled, I can Collapse the toolbar using the top image view.Please look at the GIF on the link below. I think this is because of the view pager nested scrolling. I don't know the cause. but Why can't I drag the top Image view once the tab is switched?https://stackoverflow.com/questions/74611210/collapsingtoolbar-not-working-on-tab-switch
When my activity is opened the first time I can collapse by dragging on the image but after switching to other tabs I can't collapse the layout by pulling on the image view. Once the view pager is scrolled, I can Collapse the toolbar using the top image view.
Please look at the GIF on the link below
. I think this is because of the view pager nested scrolling. I don't know the cause. but Why can't I drag the top Image view once the tab is switched?https://stackoverflow.com/questions/74611210/collapsingtoolbar-not-working-on-tab-switch