Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
github.com/2359media/EasyAndroidAnimations
Easy Android Animations
is an animation library that aims to make android animations easier, with 50+
builtin animations, it allows you to introduce many complex animation effects in your application with one or two lines of code.
You can include the library directly in your Gradle project:
build.gradle
:repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.2359media:EasyAndroidAnimations:0.8'
}
You can download this jar file and include it in your project, otherwise you can download the source code and customize it according to your need.
See Animation_demo/
folder for a working implementation of this library.
new BounceAnimation(yourView).animate();
new BounceAnimation(yourView)
.setBounceDistance(50)
.setBounces(5)
.setDuration(500)
.animate();
new ExplodeAnimation(yourView)
.setExplodeMatrix(ExplodeAnimation.MATRIX_2X2)
.setInterpolator(new DecelerateInterpolator())
.setDuration(500)
.setListener(new AnimationListener() {
@Override
public void onAnimationEnd(Animation animation) {
*perform your own functions here when animation ends*
}
})
.animate();
ParallelAnimator
class. The following example scales in a view and flips it horizontally at the same time. new ParallelAnimator()
.add(new ScaleInAnimation(yourView))
.add(new FlipHorizontalAnimation(yourView))
.setDuration(500)
.animate();
FAQs
Unknown package
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.