Disable swiping of artworks when game info header is collapsed
mars885 opened this issue · 0 comments
mars885 commented
The ViewPager2
class has the support to enable/disable swiping by calling the method setUserInputEnabled(boolean isEnabled)
.
Before the migration, whe the game info header was collapsed, the scrolling of artworks was disabled like this.
However, the Accompanist's analogue, as of the 0.23.1
, does not support doing that. Starting from the 0.24.1-alpha, the support has been added.
Consider using that as soon as #139 issue is resolved & the version of Accompanist gets updated inside the project.