mars885 / gamedge

An Android application for browsing video games and checking the latest gaming news from around the world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable swiping of artworks when game info header is collapsed

mars885 opened this issue · comments

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.