Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
com.ToxicBakery.viewpager.transforms:view-pager-transforms
Advanced tools
Library containing common animations needed for transforming ViewPager scrolling on Android v13+
Library containing common animations needed for transforming ViewPager scrolling on Android v13+. This library is a rewrite of the JazzyViewPager library and owes credit of the animation concepts directly to its source. The purpose of this rewrite is to provide an easier to use and extend implementation of ViewPager animations.
Add gradle dependency to your application.
implementation 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:2.0.24'
After configuration, instantiate the transformer animation you wish to use and set it as the page transformer.
// Reference (or instantiate) a ViewPager instance and apply a transformer
pager = (ViewPager) findViewById(R.id.container);
pager.setAdapter(mAdapter);
pager.setPageTransformer(true, new RotateUpTransformer());
All ViewPagerTransform implementations extend ABaseTransformer providing useful hooks improving readability of animations and basic functionality important when switching between animations. ABaseTransformer provides three lifecycle hooks and two flags for default handling of hiding offscreen fragments and mimicking the default paging functionality of the ViewPager.
This project is built with Gradle using the Gradle Wrapper script.
./gradlew build
You can modify this project and create local packages with via the maven publish plugin used in the build scripts.
./gradlew publishToMavenLocal
FAQs
Library containing common animations needed for transforming ViewPager scrolling on Android v13+
We found that com.ToxicBakery.viewpager.transforms:view-pager-transforms demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.