ux: disable page transition animation

This commit is contained in:
TCFDONMEZ
2026-09-30 10:36:09 +03:00
parent bad747a230
commit cca911c4e4
4 changed files with 10 additions and 3 deletions
+6
View File
@@ -4,6 +4,12 @@ All notable changes to this project are documented here. Format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.2.11] - 2026-09-30
### Changed
- Page tabs now switch immediately without ViewPager's multi-page sliding animation.
## [2.2.10] - 2026-09-30 ## [2.2.10] - 2026-09-30
### Fixed ### Fixed
+1
View File
@@ -0,0 +1 @@
2bb8c798e58b3bde04831b12a26a8f1d6806c9edc327234fc0d9c912f0186a92 FatihsMG4-unstable-2.2.11.apk
+2 -2
View File
@@ -34,8 +34,8 @@ android {
applicationId "com.evsuite.abrp" applicationId "com.evsuite.abrp"
minSdk 27 minSdk 27
targetSdk 36 targetSdk 36
versionCode 27 versionCode 28
versionName "2.2.10" versionName "2.2.11"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
@@ -155,7 +155,7 @@ public class MainActivity extends AppCompatActivity {
final int index = i; final int index = i;
// Animated, so the button does the same thing the swipe does: the direction of // Animated, so the button does the same thing the swipe does: the direction of
// travel is what tells the driver where they are in the row. // travel is what tells the driver where they are in the row.
findViewById(TAB_IDS[i]).setOnClickListener(v -> pager.setCurrentItem(index, true)); findViewById(TAB_IDS[i]).setOnClickListener(v -> pager.setCurrentItem(index, false));
} }
markCurrentPage(pager.getCurrentItem()); markCurrentPage(pager.getCurrentItem());
} }